Sha256: 765b5a883697689b9e7e2d241fa3699be6d0037bd3d48f542986dc5921301bc0
Contents?: true
Size: 519 Bytes
Versions: 4
Compression:
Stored size: 519 Bytes
Contents
module Cucumber module Formatters class AutotestFormatter def initialize(io) @io = io @failed_scenarios = [] end def step_didnt_pass(step, regexp, args) unless @failed_scenarios.include? step.scenario.name @failed_scenarios << step.scenario.name @io.puts step.scenario.name end end alias step_failed step_didnt_pass alias step_pending step_didnt_pass alias step_skipped step_didnt_pass end end end
Version data entries
4 entries across 4 versions & 1 rubygems