Sha256: 0a60658339580375a82c17cb39fe4ae87d9806e5764e4d9a949b40fffbb0c2fd

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

.TH TESTR-MASTER 1 "2011-11-03" "14.1.0" "TestR User Manuals"
.SH NAME
.PP
testr-master \- absorbs test execution overhead and forks to run your tests
.SH SYNOPSIS
.PP
\fBtestr-master\fP [\fIOPTION\fP]...
.SH DESCRIPTION
.PP
This program reads the following single-line commands (JSON arrays) from its
standard input stream and performs the respective actions as described below.
.TP
\fB["load",\fP \fIpaths\fP\fB,\fP \fIfiles\fP\fB]\fP
Adds the given array of \fIpaths\fP to Ruby's $LOAD_PATH, loads the given array
of \fIfiles\fP after removing their ".rb" file extension if present, and prints
the given command line to the standard output stream.
.TP
\fB["test",\fP \fItest_file\fP\fB,\fP \fItest_names\fP\fB]\fP
Runs the given \fItest_file\fP in a forked child process while instructing your
chosen unit testing framework (loaded by your test execution overhead) to
only run those tests that are named in the given array of \fItest_names\fP.
.IP
Prints the given command line to the standard output stream immediately
after forking the child process.
.IP
Prints the given command line, modified with \fB"pass"\fP (if the test passed)
or \fB"fail"\fP (if the test failed) in place of \fB"test"\fP, to the standard
output stream after the forked child process finishes.
.IP
The standard output and error streams of the forked child process are
redirected to a file whose path and name are the same as that of the test
file being run by the forked child process but with ".log" appended.
.TP
\fB["stop"]\fP
Stops all tests that are currently running and prints the given command line
to the standard output stream.
.TP
\fB["quit"]\fP
Stops all tests that are currently running and exits.
.SH OPTIONS
.TP
\fB-h\fP, \fB--help\fP
Display this help manual using 
.BR man (1).
.SH FILES
.TP
\fB.testr.rb\fP
Ruby script in the directory where 
.BR testr (1) 
is run.
.SH SEE ALSO
.PP
.BR testr (1), 
.BR testr-driver (1), 
.BR testr-master (1), 
.BR testr-herald (1)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
testr-14.1.0 man/man1/testr-master.1