testrb(1)

testrb1

Automatic runnter for test::unit of ruby

Part of testrb2.1(1).

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.

Releases

5 releases since Debian 3.1 (Sarge); the text changed 1 time.

  1. 3.1–6.0
  2. 8

Author

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

From ruby 1:2.1.5+deb8u2 in Debian 8 (Jessie). Parsed by carta from the page's man source.