No commit activity in last 3 years
No release in over 3 years
Sauce documentation formatter for RSpec.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.1
~> 0.8.3
~> 0.10.2
~> 0.34.2
~> 0.10.0

Runtime

>= 3.3.0
 Project Readme

Sauce Documentation Formater

Gem Version Build Status Dependency Status Coverage Status

Usage

# spec_helper.rb
require 'sauce_documentation'

RSpec.configure do |config|
  config.before(:suite) do
    config.add_formatter SauceDocumentation
  end
end

Identical to RSpec Documentation formatter except the example.metadata[:sauce_test_link] is used to output the sauce test link.

Example output

  2) SauceDocumentation fails and outputs sauce link
     Failure/Error: expect(3).to eq(4)
       
       expected: 4
            got: 3
       
       (compared using ==)
       
       https://saucelabs.com/beta/tests/1234
       
     # ./formatter_spec/sauce_documentation_spec.rb:16:in `block (2 levels) in <top (required)>'