Is used to execute tests concurrently in subprocesses.
Scheduler process is named master
, subprocesses with tests are slaves
.
Master
uses simple scheduling, splitting tests on parts by slaves
number.
- Source:
Methods
-
<async> launch( [cb])
-
Launches tests in subprocesses.
Parameters:
Name Type Argument Description cb
function <optional>
Callback function executing at the end.
Properties
Name Type Description exitCode
number Subprocesses summary exit code.
- Source:
Returns:
Exit code if callback isn't passed, or result providing by callback.
- Type
- Promise.<(number|*)>