Class | RSpec::Core::Formatters::BaseFormatter |
In: |
lib/rspec/core/formatters/base_formatter.rb
|
Parent: | Object |
duration | [R] | |
example_count | [R] | |
example_group | [RW] | |
examples | [R] | |
failed_examples | [R] | |
failure_count | [R] | |
output | [R] | |
pending_count | [R] | |
pending_examples | [R] |
This method is invoked at the very end. Allows the formatter to clean up, like closing open streams.
This method is invoked at the end of the execution of each example group. example_group is the example_group.
This method is invoked at the beginning of the execution of each example group. example_group is the example_group.
The next method to be invoked after this is example_passed, example_pending, or example_finished
This method is invoked before any examples are run, right after they have all been collected. This can be useful for special formatters that need to provide progress on feedback (graphical ones)
This will only be invoked once, and the next one to be invoked is example_group_started
This method is invoked after all of the examples have executed. The next method to be invoked after this one is dump_failure (once for each failed example),