ct_cover(3) - Linux man page

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.

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

<>