![]() |
![]()
| ![]() |
![]()
NAMEeunit - This module is the main EUnit user interface.DESCRIPTIONThis module is the main EUnit user interface.EXPORTSstart() -> term()
Starts the EUnit server. Normally, you don't need to call this function; it is
started automatically.
stop() -> term()
Stops the EUnit server. Normally, you don't need to call this function.
test(Tests) -> term()
Equivalent to test(Tests, []).
test(Tests::term(), Options::[term()]) -> ok | {error, term()}
Runs a set of tests. The format of Tests is described in the section
EUnit test representation of the overview.
Example:
eunit:test(fred)runs all tests in the module fred and also any tests in the module fred_tests, if that module exists. Options:
AUTHORSMickaël Rémond <mickael.remond@process-one.net> Richard Carlsson <carlsson.richard@gmail.com>
|