Add some pride to your rspec tests!
Add this line to your application's Gemfile:
group :test do
gem 'rspec-rainbow'
end
And then execute:
$ bundle install
Or install it yourself as:
$ gem install rspec-rainbow
Then, when running rspec:
$ rspec --format Rainbow
If you want to use Rainbow by default, add it to your .rspec
file.
--format Rainbow
Bug reports and pull requests are welcome on GitHub at https://github.com/mscoutermarsh/rspec-rainbow. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Based on Minitest's Pride plugin
Tweet @mscccc or open an issue.