Skip to content

Commit

Permalink
Added error count method to support getting it to the xml formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
pingfr committed Mar 31, 2020
1 parent 81629da commit 30fae04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rspec_junit_formatter/rspec2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def failure_for(example)
"#{message}\n#{backtrace.join("\n")}"
end

def error_count
0
end

def find_shared_group(example)
group_and_parent_groups(example).find { |group| group.metadata[:shared_group_name] }
end
Expand Down

0 comments on commit 30fae04

Please sign in to comment.