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
234
235
236
|
# File 'lib/cucumber/core/test/result.rb', line 234
def self.ok?(*)
true
end
|
Instance Method Details
#describe_to(visitor, *args) ⇒ Object
238
239
240
241
242
|
# File 'lib/cucumber/core/test/result.rb', line 238
def describe_to(visitor, *args)
visitor.skipped(*args)
visitor.duration(duration, *args)
self
end
|
#to_message ⇒ Object
248
249
250
251
252
253
|
# File 'lib/cucumber/core/test/result.rb', line 248
def to_message
Cucumber::Messages::TestStepResult.new(
status: Cucumber::Messages::TestStepResultStatus::SKIPPED,
duration: duration.to_message_duration
)
end
|
#to_s ⇒ Object
244
245
246
|
# File 'lib/cucumber/core/test/result.rb', line 244
def to_s
'-'
end
|