Exception: Cucumber::Core::Test::Result::Pending
- Inherits:
-
Raisable
show all
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/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?(be_strict = false) ⇒ Boolean
256
257
258
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/result.rb', line 256
def self.ok?(be_strict = false)
!be_strict
end
|
Instance Method Details
#describe_to(visitor, *args) ⇒ Object
260
261
262
263
264
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/result.rb', line 260
def describe_to(visitor, *args)
visitor.pending(self, *args)
visitor.duration(duration, *args)
self
end
|
#to_message ⇒ Object
270
271
272
273
274
275
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/result.rb', line 270
def to_message
Cucumber::Messages::TestStepResult.new(
status: Cucumber::Messages::TestStepResultStatus::PENDING,
duration: duration.to_message_duration
)
end
|
266
267
268
|
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/result.rb', line 266
def to_s
"P"
end
|