Basic code for unit testing rules.
They do not all pass. Sometimes the test is not completely in sync with the current version, but often the rule does not match the example found in the rule documentation, so this exposes some bugs in the patterns and code.
Currently, tests will not be auto-run, to not fail the build until everything is fixed.
Basic code for unit testing rules. They do not all pass. Sometimes the test is not completely in sync with the current version, but often the rule does not match the example found in the rule documentation, so this exposes some bugs in the patterns and code.
Currently, tests will not be auto-run, to not fail the build until everything is fixed.