Uses @mattsears's Nyan Cat Formatter and code copied from @tenderlove's minitest-emoji.
http://github.com/tgxworld/minitest-nyan-cat
Prints a Nyan Cat trail for your test output
gem install minitest-nyan-cat
require 'minitest/autorun'
require 'minitest/nyan_cat'
describe 'my amazing tests' do
200.times do |i|
it "must #{i}" do
100.must_equal 100
end
end
2.times do |i|
it "compares #{i} to #{i + 1}" do
i.must_equal i + 1
end
end
it 'skips things!!' do
skip "don't care!"
end
end
Add gem 'minitest-nyan-cat', group: :test
to your Gemfile and run
bundle install`.
Following which, add require 'minitest/nyan_cat'
to your test_helper.rb
.