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
39 40 41 |
# File 'lib/cucumber/core/test/result.rb', line 39 def describe_to(_visitor, *_args) self end |
#to_message ⇒ Object
47 48 49 50 51 52 |
# File 'lib/cucumber/core/test/result.rb', line 47 def Cucumber::Messages::TestStepResult.new( status: Cucumber::Messages::TestStepResultStatus::UNKNOWN, duration: UnknownDuration.new. ) end |
#with_filtered_backtrace(_filter) ⇒ Object
43 44 45 |
# File 'lib/cucumber/core/test/result.rb', line 43 def with_filtered_backtrace(_filter) self end |