method
example_failed
example_failed(example_proxy, counter, failure)
public
This method is invoked when an example fails, i.e. an exception occurred inside it (such as a failed should or other exception).
Parameters
example_proxy: | The same instance of Spec::Example::ExampleProxy that was passed to example_started |
counter: | the sequential number of this failure |
failure: | instance of Spec::Runner::Reporter::Failure |