table of contents
other versions
- wheezy 1:15.b.1-dfsg-4+deb7u1
- wheezy-backports 1:17.3-dfsg-4~bpo70+1
- jessie 1:17.3-dfsg-4+deb8u1
- jessie-backports 1:19.2.1+dfsg-2~bpo8+1
- testing 1:19.2.1+dfsg-2
- unstable 1:19.2.1+dfsg-2
- experimental 1:19.3.1+dfsg-1
ct_master(3erl) | Erlang Module Definition | ct_master(3erl) |
NAME¶
ct_master - Distributed test execution control for Common Test.DESCRIPTION¶
Distributed test execution control for Common Test. This module exports functions for running Common Test nodes on multiple hosts in parallel.EXPORTS¶
abort() -> ok
Stops all running tests.
Types:
Nodes = atom() | [atom()]
Stops tests on specified nodes.
Types:
Bool = true | false
If set to true, the ct_master logs will be written on a primitive html format,
not using the Common Test CSS style sheet.
Types:
Node = atom()
Status = finished_ok | ongoing | aborted | {error, Reason}
Reason = term()
Returns test progress. If Status is ongoing, tests are running on
the node and have not yet finished.
Types:
TestSpecs = string() | [SeparateOrMerged]
Equivalent to run(TestSpecs, false, [], []).
Types:
TestSpecs = string() | [SeparateOrMerged]
SeparateOrMerged = string() | [string()]
InclNodes = [atom()]
ExclNodes = [atom()]
Equivalent to run(TestSpecs, false, InclNodes, ExclNodes).
Types:
TestSpecs = string() | [SeparateOrMerged]
SeparateOrMerged = string() | [string()]
AllowUserTerms = bool()
InclNodes = [atom()]
ExclNodes = [atom()]
Tests are spawned on the nodes as specified in TestSpecs. Each
specification in TestSpec will be handled separately. It is however possible
to also specify a list of specifications that should be merged into one before
the tests are executed. Any test without a particular node specification will
also be executed on the nodes in InclNodes. Nodes in the
ExclNodes list will be excluded from the test.
Types:
TestSpecs = string() | [SeparateOrMerged]
SeparateOrMerged = string() | [string()]
Node = atom()
Equivalent to run_on_node(TestSpecs, false, Node).
Types:
TestSpecs = string() | [SeparateOrMerged]
SeparateOrMerged = string() | [string()]
AllowUserTerms = bool()
Node = atom()
Tests are spawned on Node according to TestSpecs.
Types:
Node = atom()
Opts = [OptTuples]
OptTuples = {config, CfgFiles} | {dir, TestDirs} | {suite, Suites} | {testcase,
Cases} | {spec, TestSpecs} | {allow_user_terms, Bool} | {logdir, LogDir} |
{event_handler, EventHandlers} | {silent_connections, Conns} | {cover,
CoverSpecFile} | {userconfig, UserCfgFiles}
CfgFiles = string() | [string()]
TestDirs = string() | [string()]
Suites = atom() | [atom()]
Cases = atom() | [atom()]
TestSpecs = string() | [string()]
LogDir = string()
EventHandlers = EH | [EH]
EH = atom() | {atom(), InitArgs} | {[atom()], InitArgs}
InitArgs = [term()]
Conns = all | [atom()]
Tests are spawned on Node using ct:run_test/1.
AUTHORS¶
common_test 1.6.1 |