Skip to content

Should-IT/shouldit-formatters-rspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}

About

Formats RSpec output as ShouldIT compatible JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages