No commit activity in last 3 years
No release in over 3 years
Colorize and pluralize minitest output: failing red, pending yellow, passing green and errors purple.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 5.0
 Project Readme

Minitest::Redgreen

endorse minitest-redgreen API Documentation

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request