No commit activity in last 3 years
No release in over 3 years
Formats RSpec output as ShouldIT compatible JSON
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.4

Runtime

 Project Readme

ShouldIT RSpec Formatter

Formats RSpec output as ShouldIT compatible JSON. Compatible with RSpec 3.2+

Usage

Add shouldit-formatter-rspec to your Gemfile

gem 'shouldit-formatters-rspec'

Configure RSpec to write results to a file

require 'shouldit/formatters'

RSpec.configure do |config|
  config.add_formatter ShouldIT::Formatters::RSpecFormatter, 'spec/results.json'
end

Configure ShouldIT to watch for changes in shouldit.conf.json

{
  "results": "spec/results.json"
}