ct_master
MODULE
MODULE SUMMARY
DESCRIPTION
Distributed test execution control for Common Test.
This module exports functions for running Common Test nodes on multiple hosts in parallel.
EXPORTS
Types:
Types:
If set to true, the ct_master logs are written on a primitive HTML format, not using the Common Test CSS style sheet.
get_event_mgr_ref() -> MasterEvMgrRef
Types:
Gets a reference to the Common Test master event manager. The reference can be used to, for example, add a user-specific event handler while tests are running.
Example:
gen_event:add_handler(ct_master:get_event_mgr_ref(), my_ev_h, [])
progress() -> [{Node, Status}]
Types:
Returns test progress. If Status is ongoing, tests are running on the node and are not yet finished.
Types:
Equivalent to ct_master:run(TestSpecs, false, [], []).
run(TestSpecs, InclNodes, ExclNodes) -> ok
Types:
Equivalent to ct_master:run(TestSpecs, false, InclNodes, ExclNodes).
run(TestSpecs, AllowUserTerms, InclNodes, ExclNodes) -> ok
Types:
Tests are spawned on the nodes as specified in TestSpecs. Each specification in TestSpec is handled separately. However, it is also possible to specify a list of specifications to be merged into one specification before the tests are executed. Any test without a particular node specification is also executed on the nodes in InclNodes. Nodes in the ExclNodes list are excluded from the test.
run_on_node(TestSpecs, Node) -> ok
Types:
Equivalent to ct_master:run_on_node(TestSpecs, false, Node).
run_on_node(TestSpecs, AllowUserTerms, Node) -> ok
Types:
Types:
Tests are spawned on Node using ct:run_test/1