Class: Cucumber::Distrib::Leader::LocalEventBus
- Inherits:
-
Core::EventBus
- Object
- Core::EventBus
- Cucumber::Distrib::Leader::LocalEventBus
- Defined in:
- lib/cucumber/distrib/leader.rb
Overview
Special event bus, ignores gherkin_source_read and test_case_ready events.
Instance Method Summary collapse
-
#gherkin_source_read ⇒ nil
Because of exception raised about this method not defined.
-
#test_case_ready ⇒ nil
This event was introduced in the message formatter (github.com/cucumber/cucumber-ruby/pull/1387).
Instance Method Details
#gherkin_source_read ⇒ nil
Because of exception raised about this method not defined.
28 |
# File 'lib/cucumber/distrib/leader.rb', line 28 def gherkin_source_read(*); end |
#test_case_ready ⇒ nil
This event was introduced in the message formatter (github.com/cucumber/cucumber-ruby/pull/1387).
The event is sent after applying the hooks: github.com/cucumber/cucumber-ruby/blob/2dbf397352efc92c02f4d1d6d3196f1448db94ba/lib/cucumber/filters/broadcast_test_case_ready_event.rb#L7 github.com/cucumber/cucumber-ruby/blob/2dbf397352efc92c02f4d1d6d3196f1448db94ba/lib/cucumber/runtime.rb#L260
We can ignore it as we already use the test_case_started which is triggered in Test::Runner. github.com/cucumber/cucumber-ruby-core/blob/785d215e7169ff720a83a5e7f640470cbd8909fb/lib/cucumber/core/test/runner.rb#L18
40 |
# File 'lib/cucumber/distrib/leader.rb', line 40 def test_case_ready(*); end |