tork-engine - wraps tork-master(1) with bookkeeping
tork-engine
[OPTION]...
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.
["boot!"]
["test"
, test_file,
line_numbers...]
["test"
, [
test_file,
line_numbers...]
...]
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.
["test?"]
["stop"
, signal]
["pass!"]
["pass?"]
["fail!"]
["fail?"]
["quit"]
This program prints the following messages, which are single-line JSON arrays, to stdout.
["done",
rantestfiles,
passedtestfiles,
failedtestfiles]
["fail!",
test_file,
message]
["pass!",
test_file,
message]
-h
, --help
ENV['TORK_CONFIGS']
environment variable.See tork(1).