Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add a line to output the RSpec seed with the test output #66

Closed
wants to merge 1 commit into from

3 participants

@pguelpa

We use CIReporter with our Jenkins server, and recently while trying to debug a random failure I noticed that the seed wasn't being printed out. I pulled in the code from rspec-core that does this into your RSpec reporter class.

@jkrall

+1

@nicksieger
Owner

I noticed this too. This was fixed in 39692c4.

@nicksieger nicksieger closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 11, 2012
  1. @pguelpa
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/ci/reporter/rspec.rb
View
6 lib/ci/reporter/rspec.rb
@@ -185,6 +185,12 @@ def dump_pending
@formatter.dump_pending
end
+ def seed(number)
+ output.puts
+ output.puts "Randomized with seed #{number}"
+ output.puts
+ end
+
def close
@formatter.close
end
Something went wrong with that request. Please try again.