A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.erlang.org/doc/apps/eunit/eunit below:

eunit — eunit v2.10

This module is the main EUnit user interface.

Summary Functions

Starts the EUnit server. Normally, you don't need to call this function; it is started automatically.

Stops the EUnit server. Normally, you don't need to call this function.

Functions

Starts the EUnit server. Normally, you don't need to call this function; it is started automatically.

Stops the EUnit server. Normally, you don't need to call this function.

-spec test(Tests :: term()) -> ok | {error, term()} | error.

Equivalent to test(Tests, []).

-spec test(Tests :: term(), Options :: [term()]) -> ok | error | {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:

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4