Test_in_«,⁇if supported«on this platform»⁇,⁇»?is_«must raise_»

Definitions:

string, atom, []→⊤, exception?
Source: /avail/Avail/Unit Testing/Definers
Categories: Unit Testing
Define a unit test.
Position Name Type Description
Parameters
1 name string The name of the test. This name will be resolved to an atom in the context of the current module. Since an atom retains its provenance, this permits the unit testing framework to report the module that defined the test. This also allows name collisions between modules.
2 id atom The test suite identifier of the test suite to which the new test should belong.
3 test []→⊤ The unit test.
4 optionalException exception? If specified, then test must raise an exception of this type when applied. If not specified, then test must not raise any exceptions.
Returns
Raises
test-already-exists exception If name names an existing unit test.