Minitest::Color
A color format for minitest
Installation
Add this line to your application's Gemfile:
gem 'minitest-color'
And then execute:
$ bundle
Or install it yourself as:
$ gem install minitest-color
Requirements
Minitest >= 5.0.0
Usage
Either pass --color
as an argument while running your tests,
or require 'minitest/color'
in your tests
What's the difference?
It colorizes your tests depending on their success
-
pass
=> Green -
skip
=> Yellow -
fail
=> Red
Contributing
- Fork it ( http://github.com/teoljungberg/minitest-color/fork )
- 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