Lifecycle
The lifecycle of the testing system follows:
- Server parses test from curriculum Markdown file
- Server evaluates any
--before-all--ops
- If any
--before-all--ops fail, an error is printed to the console - If any
--before-all--ops fail, the tests stop running
- Server evaluates all tests in parallel1
- Server evaluates any
--before-each--ops- If any
--before-each--ops fail, test code is not run
- If any
- Server evaluates the test
- Server evaluates any
--after-each--ops
- Server evaluates any
- Server evaluates any
--after-all--ops
- If any
--after-all--ops fail, an error is printed to the console
1
Tests can be configured to run in order, in a blocking fashion with the blockingTests configuration option.