No release in over a year
rspec formatter that gives a more readable output on CI runs (specifically Github actions)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.14.1
~> 3.2

Runtime

 Project Readme

RSpec::Ci::Prettify

Hackathon project designed to make CI output for rspec runs (specifically using knapsack and Github actions) more easily digestable

Installation

Add this line to your application's Gemfile:

gem 'rspec-ci-prettify'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install rspec-ci-prettify

Usage

Run rspec with the formatter flag set to the gems formatter

and --force-color which will set the RSpec.configuration.color_enabled? to be always true so ANSI Console code colour wraps are used properly

example

rspec --force-color --format RSpec::Ci::Prettify::Formatter

Screenshot of formatter output (Can also be seen on the repos github actions on master)

Screenshot 2022-12-05 at 17 46 31

Development

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and the created tag, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rspec-ci-prettify.

License

The gem is available as open source under the terms of the MIT License.