Test::Unit::Runner::Tap

DESCRIPTION:

Test::Unit::Runner::Tap - A console Test::Unit UI supporting TAP and TAP-Y/J format.

See TAP for more information about TAP format.

See TAPOUT for more information about TAP-Y/J format.

INSTALL:

$ sudo gem install test-unit-runner-tap

USAGE:

It you test helper script use:

require 'test/unit/runner/tap'

Then you can select the runner via the ‘–runner` command line option.

$ ruby test/run_tests.rb --runner yaml

Available runners are ‘tap`, `tapy`/`yaml` or `tapj`/`json`.

The runner can also be specified in code, if need be. See API documentation for more information on how to do this.

To use TAP-Y/J formats with TAPOUT, just pipe results to tapout utility.

$ ruby test/run_tests.rb --runner yaml | tapout

See TAPOUT poject for more information on that.

LICENSE:

(LGPL v3.0 License)

Copyright © 2012 Trans & Kouhei Sutou

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

(See COPYING file for more details.)