Class: Cucumber::Core::Test::Result::Unknown
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::Result::Unknown
- Defined in:
- lib/cucumber/core/test/result.rb
Overview
Null object for results. Represents the state where we haven’t run anything yet
Instance Method Summary collapse
- #describe_to(_visitor, *_args) ⇒ Object
- #to_message ⇒ Object
- #with_filtered_backtrace(_filter) ⇒ Object
Instance Method Details
#describe_to(_visitor, *_args) ⇒ Object
40 41 42 |
# File 'lib/cucumber/core/test/result.rb', line 40 def describe_to(_visitor, *_args) self end |
#to_message ⇒ Object
48 49 50 51 52 53 |
# File 'lib/cucumber/core/test/result.rb', line 48 def Cucumber::Messages::TestStepResult.new( status: Cucumber::Messages::TestStepResultStatus::UNKNOWN, duration: UnknownDuration.new. ) end |
#with_filtered_backtrace(_filter) ⇒ Object
44 45 46 |
# File 'lib/cucumber/core/test/result.rb', line 44 def with_filtered_backtrace(_filter) self end |