Class: Cucumber::Core::Events::TestStepFinished

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/events.rb

Overview

Signals that a Test::Step has finished executing

Direct Known Subclasses

Events::TestStepFinished

Instance Attribute Summary collapse

Instance Attribute Details

#resultTest::Result (readonly)

Returns the result of running the Test::Step.

Returns:



60
61
62
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/events.rb', line 60

def result
  @result
end

#test_stepTest::Step (readonly)

Returns the test step that was executed.

Returns:

  • (Test::Step)

    the test step that was executed



57
58
59
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/events.rb', line 57

def test_step
  @test_step
end