Sha256: 22463fc1e56aeada0beb1c52d49a6b409afea7871d0ad3dc5c845a817d4ed2b0
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
Feature: text formatter In order to easily see the result of running my specs As an RSpec user I want clear, concise, well-formatted output Scenario: Backtrace formatting for failing specs in multiple files Given a file named "string_spec.rb" with: """ require 'rspec/core' describe String do it "has a failing example" do "foo".reverse.should == "ofo" end end """ And a file named "integer_spec.rb" with: """ require 'rspec/core' describe Integer do it "has a failing example" do (7 + 5).should == 11 end end """ When I run `ruby ./integer_spec.rb ./string_spec.rb` Then the backtrace-normalized output should contain: """ Failures: 1) Integer has a failing example Failure/Error: (7 + 5).should == 11 expected: 11 got: 12 (using ==) # ./integer_spec.rb:5 2) String has a failing example Failure/Error: "foo".reverse.should == "ofo" expected: "ofo" got: "oof" (using ==) # ./string_spec.rb:5 """
Version data entries
3 entries across 3 versions & 1 rubygems