Exception: Cucumber::Core::Test::Result::Skipped
- Inherits:
-
Raisable
- Object
- StandardError
- Raisable
- Cucumber::Core::Test::Result::Skipped
show all
- Defined in:
- lib/cucumber/core/test/result.rb
Instance Attribute Summary
Attributes inherited from Raisable
#duration, #message
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Raisable
#initialize, #ok?, #with_appended_backtrace, #with_duration, #with_filtered_backtrace, #with_message
Class Method Details
.ok? ⇒ Boolean
236
237
238
|
# File 'lib/cucumber/core/test/result.rb', line 236
def self.ok?(*)
true
end
|
Instance Method Details
#describe_to(visitor, *args) ⇒ Object
240
241
242
243
244
|
# File 'lib/cucumber/core/test/result.rb', line 240
def describe_to(visitor, *args)
visitor.skipped(*args)
visitor.duration(duration, *args)
self
end
|
#to_message ⇒ Object
250
251
252
253
254
255
|
# File 'lib/cucumber/core/test/result.rb', line 250
def to_message
Cucumber::Messages::TestStepResult.new(
status: Cucumber::Messages::TestStepResultStatus::SKIPPED,
duration: duration.to_message_duration
)
end
|
#to_s ⇒ Object
246
247
248
|
# File 'lib/cucumber/core/test/result.rb', line 246
def to_s
'-'
end
|