Unix/Linux Go Back    


Linux 2.6 - man page for eunit (linux section 3erl)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


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:

		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.

	      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 .

AUTHORS
       Micka&euml;l R&eacute;mond <mickael.remond@process-one.net >

       Richard Carlsson <richardc@it.uu.se >

					   eunit 2.1.6				      eunit(3erl)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 04:01 AM.