Method: Cucumber::Formatter::Junit#on_test_step_finished

Defined in:
lib/cucumber/formatter/junit.rb

#on_test_step_finished(event) ⇒ Object

[View source] [View on GitHub]

53
54
55
56
57
58
# File 'lib/cucumber/formatter/junit.rb', line 53

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