Class: Cucumber::Core::Test::Result::Flaky

Inherits:
Object
  • Object
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

Overview

Flaky is not used directly as an execution result, but is used as a reporting result type for test cases that fails and the passes on retry, therefore only the class method self.ok? is needed.

Class Method Summary collapse

Class Method Details

.ok?(be_strict = false) ⇒ Boolean

Returns:

  • (Boolean)


162
163
164
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-core-11.0.0/lib/cucumber/core/test/result.rb', line 162

def self.ok?(be_strict = false)
  !be_strict
end