Class: Cucumber::Events::TestStepFinished

Inherits:
Core::Events::TestStepFinished show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/events/test_step_finished.rb

Overview

Signals that a Core::Test::Step has finished executing

Instance Attribute Summary collapse

Instance Attribute Details

#resultCucumber::Core::Test::Result (readonly)

Returns the result of running the Core::Test::Step.

Returns:



11
12
13
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/events/test_step_finished.rb', line 11

def result
  @result
end

#test_stepCucumber::Core::Test::Step (readonly)

Returns the test step that was executed.

Returns:



8
9
10
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-8.0.0/lib/cucumber/events/test_step_finished.rb', line 8

def test_step
  @test_step
end