Closed kevinburkeomg closed 6 years ago
Odd! Did the other stats match? Were you definitely running both formatters? (Was it old xml from a previous run?) Have you changed rspec versions (and what version of rspec are you using)?
I double checked, we're reporting the same value as rspec's default text formatter. Sorry, but I'm not sure what's happened in your case. I suspect they were output from different rspec runs.
For a recent build, RSpec (console) reported:
However, the RSpec XML generated for the same test run returned a much smaller number for the time:
546 seconds is 9 minutes, 6 seconds, so there are 4 minutes of unexplained difference in the timings. What could explain the discrepancy? I'm using junit formatter 0.3.0, but I checked the changelog and didn't see anything between then & tip that could explain a difference.