Class: Cucumber::Events::AfterTestStep

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/events/after_test_step.rb

Overview

 Event fired after each test step has been executed

Instance Attribute Summary collapse

Instance Attribute Details

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

 The result of executing the test step.

Returns:

  • (Cucumber::Core::Test::Result)


20
21
22
# File 'lib/cucumber/events/after_test_step.rb', line 20

def result
  @result
end

#test_caseCucumber::Core::Test::Case (readonly)

The test case currently being executed.

Returns:

  • (Cucumber::Core::Test::Case)


10
11
12
# File 'lib/cucumber/events/after_test_step.rb', line 10

def test_case
  @test_case
end

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

 The test step that was just executed.

Returns:

  • (Cucumber::Core::Test::Step)


15
16
17
# File 'lib/cucumber/events/after_test_step.rb', line 15

def test_step
  @test_step
end