Minitest::Redgreen
Colorizes and corrects pluralization of Minitest output.
This gem was forked from https://github.com/jparker/minitest-redgreen. I found it wasn't published to RubyGems.org, but was a viable working alternative to minitest-colorize
which was using require 'minitest/unit'
and the older MiniTest
module name instead of the newer Minitest
.
I added pluralization correction to the Minitest output, because incorrect grammar annoys me.
Installation
Add this line to your application's Gemfile:
gem 'minitest-redgreen'
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-redgreen
Requirements
This gem has a dependency on minitest 5.x
.
Usage
Add this line to your application's test_helper.rb or spec_helper.rb:
require 'minitest/redgreen'
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request