Class: Cucumber::Events::TestCaseFinished

Inherits:
Core::Events::TestCaseFinished
  • Object
show all
Defined in:
lib/cucumber/events/test_case_finished.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

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

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

Returns:

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

    the result of running the Core::Test::Case



13
14
15
# File 'lib/cucumber/events/test_case_finished.rb', line 13

def result
  @result
end

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

Returns that was executed.

Returns:

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

    that was executed



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

def test_case
  @test_case
end