lib/gurke/reporters/team_city_reporter.rb in gurke-2.2.1 vs lib/gurke/reporters/team_city_reporter.rb in gurke-2.2.2

- old
+ new

@@ -77,20 +77,21 @@ io.print " (#{str})" end def print_pending(step) return if @pending == @scenario # only once per scenario - publish :testPending, + publish :testIgnored, name: @scenario.name, message: 'Step definition missing' @pending = @scenario end def print_failed(step) publish :testFailed, name: @scenario.name, message: step.exception.inspect, backtrace: step.exception.backtrace.join('\n') + @pending = @scenario print_braces 'failure' io.puts exout = format_exception(step.exception)