TORK-ENGINE 1 2016-02-13 20.0.1
tork-engine - wraps tork-master(1) with bookkeeping
This program uses tork-master(1) to run tests and keeps track of the results.
This program can be controlled remotely by multiple tork-remote(1) instances.
This program reads the following commands, which are single-line JSON arrays,
from stdin and then performs the associated actions. For lines read from
stdin that are single-line JSON arrays, it splits each of them into an array
of words, using the same word-splitting algorithm as sh(1), before processing
them. For example, the line
a "b c" is split into the
["a", "b c"] array.
- Stops any test files that are currently running, reabsorbs the test
execution overhead, and then re-runs those stopped test files.
Runs tests that correspond to the given sequence of line_numbers in the
given test_file. If no line_numbers are given, then only those lines
that have changed since the last run of test_file will be substituted.
If any line_numbers are zero, then the entire test_file will be run.
- Lists all test files that are currently running.
- Stops test files that are currently running by sending the given signal
(optional; defaults to "SIGTERM") to their respective worker processes.
- Runs all test files that have passed during their most recent run.
- Lists all test files that have passed during their most recent run.
- Runs all test files that have failed during their most recent run.
- Lists all test files that have failed during their most recent run.
- Stops all tests that are currently running and exits.
This program prints the following messages, which are single-line JSON arrays,
- All queued tests have finished running and no new tests have been queued.
In particular, rantestfiles test files have run, passedtestfiles
test files have passed, and failedtestfiles test files have failed.
- A previously passing test_file has now failed. See message for details.
- A previously failing test_file has now passed. See message for details.
- Messages from tork-master(1) are also reproduced here.
- Show this help manual and optionally search for PATTERN regular expression.
- Optional Ruby script that is loaded inside this Tork process on startup.
It can read and change the
ENV['TORK_CONFIGS'] environment variable.
- Optional Ruby script that is loaded inside the master process on startup.
tork(1), tork-remote(1), tork-master(1)