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



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

def result
  @result
end

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

Returns that was executed

Returns:

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

    that was executed



8
9
10
# File 'lib/cucumber/events/test_case_finished.rb', line 8

def test_case
  @test_case
end