Class: Cucumber::Core::Events::TestCaseCreated
- Defined in:
- lib/cucumber/core/events/test_case_created.rb
Overview
Signals that a Test::Case was created from a Pickle
Instance Attribute Summary collapse
-
#pickle ⇒ Object
readonly
Returns the value of attribute pickle.
-
#test_case ⇒ Object
readonly
Returns the value of attribute test_case.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(test_case, pickle) ⇒ TestCaseCreated
constructor
A new instance of TestCaseCreated.
Methods inherited from Base
Constructor Details
#initialize(test_case, pickle) ⇒ TestCaseCreated
Returns a new instance of TestCaseCreated.
16 17 18 19 20 |
# File 'lib/cucumber/core/events/test_case_created.rb', line 16 def initialize(test_case, pickle) @test_case = test_case @pickle = pickle super() end |
Instance Attribute Details
#pickle ⇒ Object (readonly)
Returns the value of attribute pickle.
10 11 12 |
# File 'lib/cucumber/core/events/test_case_created.rb', line 10 def pickle @pickle end |
#test_case ⇒ Object (readonly)
Returns the value of attribute test_case.
10 11 12 |
# File 'lib/cucumber/core/events/test_case_created.rb', line 10 def test_case @test_case end |
Class Method Details
.event_id ⇒ Object
12 13 14 |
# File 'lib/cucumber/core/events/test_case_created.rb', line 12 def self.event_id :test_case_created end |