method
example_failed
example_failed(example, error)
public
Hide source
# File lib/spec/runner/reporter.rb, line 39 def example_failed(example, error) backtrace_tweaker.tweak_backtrace(error) failure = Failure.new(@example_group.description, example.description, error) @failures << failure formatters.each do |f| f.example_failed(example, @failures.length, failure) end end