MiniTest::ANSI

Gem Version Build Status Dependency Status Code Climate Coverage Status

Colorize your minitest output using ANSI colors.

Tested under MRI 1.8, 1.9 and 2.0, JRuby and Rubinius.

Versioning

Minitest-ansi 0.1.x series should work with minitest up to 4.x.
Minitest-ansi 0.2.x is expected to work with minitest 5.x.

How it looks

Screenshot

Installation

Add this line to your application's Gemfile:

group :test do
  gem 'minitest-ansi'
end

And then execute:

$ bundle

Or install it yourself:

$ gem install minitest-ansi

Usage

You probably want to add this to your test_helper.rb (or equivalent).

require 'minitest/ansi'

MiniTest::ANSI.use!

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