class Cucumber::Formatter::Junit

def on_test_step_finished(event)

def on_test_step_finished(event)
  test_step, result = *event.attributes
  return if @failing_test_step
  @failing_test_step = test_step unless result.ok?(strict: @config.strict)
end