Commit d861ffd5 authored by Jamie A. Jennings's avatar Jamie A. Jennings

Updated unit test doc

parent d09822a2
Pipeline #54113821 (#261) passed with stages
in 2 minutes and 21 seconds
......@@ -5,6 +5,11 @@
The [Rosie Pattern Language Reference](rpl.md) defines the pattern language
apart from the Rosie implementation.
## Unit tests
Unit tests are written as RPL comments and are described in the
[Unit Test Documentation](unittest.md).
## Using the CLI
......
......@@ -35,14 +35,17 @@ issues and a count of each type:
Tests: 68 Errors: 2 Failures: 3 Blocked: 1 Passed: 62
$
Status | Meaning |
--------|-------- |
FAILED | An acceptance test failed to match the input; or |
| a rejection test did match the input; or |
| an inclusion test did not include the specified type; or |
| an exclusion test did include the specified type. |
BLOCKED | An inclusion/exclusion test can only run if the input string is accepted |
ERROR | The pattern being tested is not defined (or did not compile) |
## Explanation of test results
| Status | Meaning |
| --------|-------- |
| FAILED | An acceptance test failed to match the input; or |
| | a rejection test did match the input; or |
| | an inclusion test did not include the specified type; or |
| | an exclusion test did include the specified type. |
| BLOCKED | An inclusion/exclusion test can only run if the input string is accepted |
| ERROR | The pattern being tested is not defined (or did not compile) |
## Writing unit tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment