testrb2.1(1)

testrb2.11

Automatic runnter for test::unit of ruby

Usage

testrb2.1 [options] [-- untouched arguments] test ...

Overview

testrb2.1 loads and runs unit-tests. If test is directory name, testrb2.1 testrb2.1 traverses the directory.

Options

-r, --runner=RUNNER

Use the given RUNNER. (t[k], c[onsole], g[tk], f[ox])

-a, --add=TORUN

Add TORUN to the list of things to run; can be a file or a directory.

-p, --pattern=PATTERN

Match files to collect against PATTERN. (default pattern is /\Atest_.*\.rb\Z/.)

-n, --name=NAME

Runs tests matching NAME. (patterns may be used.)

-t, --testcase=TESTCASE

Runs tests in TestCases matching TESTCASE. (patterns may be used.)

-v, --verbose=[LEVEL]

Set the output level (default is verbose). (p[rogress], n[ormal], v[erbose], s[ilent])

--

Stop processing options so that the remaining options will be passed to the test.

-h, --help

Display help.

Author

This manpage was contributed by akira yamada <[email protected]>

From ruby2.1 2.1.5-2+deb8u3 in Debian 8 (Jessie). Parsed by carta from the page's man source.