The strict
argument for all the result / summary classes has changed to a keyword argument.
This was typically used in .ok?
and #ok?
checks for the summary reporter.
summary = Cucumber::Core::Report::Summary.new(event_bus)
# There are many examples of the strict configuration
strict = ::Cucumber::Core::Test::Result::StrictConfiguration.new([:undefined])
summary.ok?(strict)
# There are many examples of result classes
Result::Flaky.ok?(false)
summary = Cucumber::Core::Report::Summary.new(event_bus)
# There are many examples of the strict configuration
strict = ::Cucumber::Core::Test::Result::StrictConfiguration.new([:undefined])
summary.ok?(strict: strict)
# There are many examples of result classes
Result::Flaky.ok?(strict: false)