class Cucumber::RunningTestCase::TestCase
Public Class Methods
Source
# File lib/cucumber/running_test_case.rb, line 24 def initialize(test_case, result = Core::Test::Result::Unknown.new) @test_case = test_case @result = result super test_case end
Calls superclass method
Public Instance Methods
Source
# File lib/cucumber/running_test_case.rb, line 30 def accept_hook?(hook) hook.tag_expressions.all? { |expression| @test_case.match_tags?(expression) } end
Source
# File lib/cucumber/running_test_case.rb, line 34 def exception return unless @result.failed? @result.exception end
Source
# File lib/cucumber/running_test_case.rb, line 51 def source_tag_names tags.map &:name end
Source
# File lib/cucumber/running_test_case.rb, line 55 def with_result(result) self.class.new(@test_case, result) end