Test::Unit::Runner::Tap is a console UI for Test::Unit supporting TAP and TAP-Y/J formats.
See Tes::tUnit for more information about Test::Unit.
See TAP for more information about TAP format.
See TAPOUT for more information about TAP-Y/J format.
Using Bundler add to your Gemfile:
Or install globally:
$ sudo gem install test-unit-runner-tap
In your test helper script use:
Then you can select the runner via the
--runner command line option.
$ ruby test/run_tests.rb --runner yaml
Available runners are
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.
This project uses Mast and Indexer tools. To perform a release, run
rake prep. This will invoke the
index commands as needed. Then check in any changes to
.gemspec that may have occured. After that run
rake gem to build the gem package. Be sure to bump the verion in
lib/test/unit/runner/tap-version.rb and add an entry to
(LGPL v3.0 License)
Copyright (c) 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 http://www.gnu.org/licenses/.
(See COPYING file for more details.)