Sha256: e8965bd9e26edd7be5dc05f4bdc7ff4d683f1cf2114c15676706efc5e5200b08

Contents?: true

Size: 562 Bytes

Versions: 1

Compression:

Stored size: 562 Bytes

Contents

# 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.output_stream = File.open('spec/results.json', 'w')
      config.formatter = ShouldIT::Formatters::RSpecFormatter
    end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shouldit-formatters-rspec-0.0.1 README.md