DefineTests
DefineTests[collection,symbol,tests]⟹Null
defines a set of tests for a given symbol. The information is stored in the given collection.
DefineTests[collection,string,tests]⟹Null
defines a set of tests for a given string. The information is stored in the given collection.
DefineTests[symbol,tests]⟹Null
defines a set of tests for a given symbol. The information is stored in the default collection.
DefineTests[string,tests]⟹Null
defines a set of tests for a given string. The information is stored in the default collection.
Details
- Stubs defined at the individual Test/Example level will take precedence over stubs defined at the DefineTests level.
-
HoldAll -
Null Warning, Null encountered in test list for `1` (`2`): check for extra comma. Times Warning, _Times encountered in test list for `1` (`2`): check for missing comma.
Input
General Options