Class: Flatware::Cucumber::Formatter
- Inherits:
-
Object
- Object
- Flatware::Cucumber::Formatter
- Defined in:
- lib/flatware/cucumber/formatter.rb
Defined Under Namespace
Classes: Checkpoint, Scenario
Instance Method Summary collapse
-
#initialize(config) ⇒ Formatter
constructor
A new instance of Formatter.
Constructor Details
#initialize(config) ⇒ Formatter
Returns a new instance of Formatter.
23 24 25 26 27 28 29 |
# File 'lib/flatware/cucumber/formatter.rb', line 23 def initialize(config) config.on_event :test_case_finished, &method(:on_test_case_finished) config.on_event :test_step_finished, &method(:on_test_step_finished) config.on_event :test_run_finished, &method(:on_test_run_finished) config.on_event :step_activated, &method(:on_step_activated) reset end |