sj26 / rspec_junit_formatter

RSpec results that your CI can read

Home Page:http://rubygems.org/gems/rspec_junit_formatter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RspecJunitFormatter does not work with RSpec 2.12.0

jayeff opened this issue · comments

In the commit rspec/rspec-core@39857f3 by @myronmarston the signature of format_backtrace changed slightly: instead of a RSpec::Core::Example the method now takes an options-hash.

j_unit_formatter.rb#L43 uses the old signature which does not work with RSpec 2.12.0. See my commit on our fork unifieddialog/rspec_junit_formatter@eb98714c090183d02110895238f1b1262dc08192 for a fix (but note that this will not work with RSpec < 2.12).

Cheers! Fixed in 0.1.3.

We just tested this and it works, thanks.