Sha256: ee635618b781787bb533b0a8f41702f0e465d8b39c72b003994382d87fb93d55
Contents?: true
Size: 1.21 KB
Versions: 150
Compression:
Stored size: 1.21 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: """ describe String do it "has a failing example" do "foo".reverse.should eq("ofo") end end """ And a file named "integer_spec.rb" with: """ describe Integer do it "has a failing example" do (7 + 5).should eq(11) end end """ When I run `rspec 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 eq(11) expected: 11 got: 12 (compared using ==) # ./integer_spec.rb:3 2) String has a failing example Failure/Error: "foo".reverse.should eq("ofo") expected: "ofo" got: "oof" (compared using ==) # ./string_spec.rb:3 """
Version data entries
150 entries across 95 versions & 14 rubygems