Class: Cucumber::Events::TestRunStarted
- Defined in:
- lib/cucumber/events/test_run_started.rb
Overview
Event fired once all test cases have been filtered before the first one is executed.
Instance Attribute Summary collapse
-
#test_cases ⇒ Array<Cucumber::Core::Test::Case>
readonly
The test cases to be executed.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_cases) ⇒ TestRunStarted
constructor
A new instance of TestRunStarted.
Methods inherited from Base
Constructor Details
#initialize(test_cases) ⇒ TestRunStarted
Returns a new instance of TestRunStarted.
17 18 19 20 |
# File 'lib/cucumber/events/test_run_started.rb', line 17 def initialize(test_cases) @test_cases = test_cases super() end |
Instance Attribute Details
#test_cases ⇒ Array<Cucumber::Core::Test::Case> (readonly)
Returns the test cases to be executed.
11 12 13 |
# File 'lib/cucumber/events/test_run_started.rb', line 11 def test_cases @test_cases end |
Class Method Details
.event_id ⇒ Object
13 14 15 |
# File 'lib/cucumber/events/test_run_started.rb', line 13 def self.event_id :test_run_started end |