class Cucumber::Formatter::Junit
def on_test_case_started(event)
def on_test_case_started(event) test_case = event.test_case start_feature(test_case) unless same_feature_as_previous_test_case?(test_case) @failing_test_step = nil # In order to fill out <system-err/> and <system-out/>, we need to # intercept the $stderr and $stdout @interceptedout = Interceptor::Pipe.wrap(:stdout) @interceptederr = Interceptor::Pipe.wrap(:stderr) end