Skip to content

tgxworld/minitest-nyan-cat

Repository files navigation

Uses @mattsears's Nyan Cat Formatter and code copied from @tenderlove's minitest-emoji.

minitest-nyan-cat

http://github.com/tgxworld/minitest-nyan-cat

DESCRIPTION:

Prints a Nyan Cat trail for your test output

INSTALL:

gem install minitest-nyan-cat

SYNOPSIS:

  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

RAILS:

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.

Releases

No releases published

Packages

No packages published

Languages