Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rspec 2.7 total time is wrong #61
With the new release of RSpec 2.7 the total time calculation has been modified:
Check the Finished in *** seconds in the following code. It is calculated from the time guard was started. It doesn't reflect how much the actual test took to run.
That's because you're using Spork, and since the start time is now registered before code is loaded (in the
Edit: Just made a comment on the commit that introduce this: rspec/rspec-core@fd04952#commitcomment-655593
@rymai - thanks for bringing this to my attention. I need to give some thought to it, as I think it's important to include the time it takes rspec to load in the total time in a non-spork environment.
@Nerian - as a workaround until we get this sorted out, you can set