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
ct_cover(3erl) | Erlang Module Definition | ct_cover(3erl) |
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 analysis.EXPORTS¶
add_nodes(Nodes) -> {ok, StartedNodes} | {error, Reason}
Types:
Nodes = [atom()]
StartedNodes = [atom()]
Reason = cover_not_running | not_main_node
Add nodes to current cover test (only works if cover support is active!). To
have effect, this function should be called from init_per_suite/1 before any
actual tests are performed.
cross_cover_analyse(Level, Tests) -> ok
Types:
Level = overview | details
Tests = [{Tag, Dir}]
Tag = atom()
Dir = string()
Accumulate cover results over multiple tests. See the chapter about cross
cover analysis in the users's guide.
remove_nodes(Nodes) -> ok | {error, Reason}
Types:
Nodes = [atom()]
Reason = cover_not_running | not_main_node
Remove nodes from current cover test. Call this function to stop cover test on
nodes previously added with add_nodes/1. Results on the remote node are
transferred to the Common Test node.
AUTHORS¶
<>common_test 1.8.2 |