class Cucumber::Formatter::FailFast

Public Class Methods

new(configuration) click to toggle source
# File lib/cucumber/formatter/fail_fast.rb, line 9
def initialize(configuration)
  configuration.on_event :after_test_case do |event|
    Cucumber.wants_to_quit = true unless event.result.ok?(configuration.strict?)
  end
end