Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ct_cover(3)		   Erlang Module Definition		   ct_cover(3)

NAME
       ct_cover	- Common Test framework	code coverage support module.

DESCRIPTION
       Common Test framework code coverage support module.

       This  module exports help functions for performing code coverage	analy-
       sis.

EXPORTS
       add_nodes(Nodes)	-> {ok,	StartedNodes} |	{error,	Reason}

	      Types:

		 Nodes = [atom()]
		 StartedNodes =	[atom()]
		 Reason	= cover_not_running | not_main_node

	      Adds nodes to current cover test.	Notice that this only works if
	      cover support is active.

	      To   have	  effect,   this   function   is  to  be  called  from
	      init_per_suite/1 (see common_test) before	 any  tests  are  per-
	      formed.

       cross_cover_analyse(Level, Tests) -> ok

	      Types:

		 Level = overview | details
		 Tests = [{Tag,	Dir}]
		 Tag = atom()
		 Dir = string()

	      Accumulates cover	results	over multiple tests. See section Cross
	      Cover Analysis in	the Users's Guide.

       remove_nodes(Nodes) -> ok | {error, Reason}

	      Types:

		 Nodes = [atom()]
		 Reason	= cover_not_running | not_main_node

	      Removes nodes from the current cover test.

	      Call this	function to stop cover test on nodes previously	 added
	      with ct_cover:add_nodes/1. Results on the	remote node are	trans-
	      ferred to	the Common Test	node.

Ericsson AB		       common_test 1.17			   ct_cover(3)

NAME | DESCRIPTION | EXPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ct_cover&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help