Test::Unit::Coverage

Description

Test::Unit::Coverage - A code coverage tool for Test::Unit.

Install

$ gem install test-unit-coverage

Usage

require 'test/unit/coverage'

Use default printer which print result to $stdout.

Use HTML printer.

require 'test/unit/coverage'
require 'coverage/html_printer'
Test::Unit::Coverage.printer = Coverage::HTMLPrinter.new

License

LGPLv2.1 or later.

Authors

  • okkez