Class: Cucumber::Events::AfterTestCase

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

Overview

 Event fired after a test case has finished executing

Instance Attribute Summary collapse

Instance Attribute Details

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

The result of executing the test case.

Returns:

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


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

def result
  @result
end

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

 The test case that was just executed.

Returns:

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


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

def test_case
  @test_case
end