table of contents
other versions
- jessie 1:17.3-dfsg-4+deb8u2
- jessie-backports 1:19.2.1+dfsg-2+deb9u1~bpo8+1
- stretch 1:19.2.1+dfsg-2+deb9u2
- testing 1:21.2.5+dfsg-1
- unstable 1:21.2.6+dfsg-1
- experimental 1:22.0~rc1+dfsg-1
eunit(3erl) | Erlang Module Definition | eunit(3erl) |
NAME¶
eunit - This module is the main EUnit user interface.DESCRIPTION¶
This module is the main EUnit user interface.EXPORTS¶
start() -> 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:
Options in the environment variable EUNIT are also included last in the option
list, i.e., have lower precedence than those in Options.
See also: test/1.
eunit:test(fred)runs all tests in the module fred and also any tests in the module fred_tests, if that module exists. Options:
- verbose:
- Displays more details about the running tests.
AUTHORS¶
Mickaël Rémond <mickael.remond@process-one.net> Richard Carlsson <carlsson.richard@gmail.com>eunit 2.3.2 |