The formatter used for --format progress
# File lib/cucumber/formatter/progress.rb, line 12 def initialize(step_mother, path_or_io, options) @step_mother, @io, @options = step_mother, ensure_io(path_or_io, "progress"), options end
# File lib/cucumber/formatter/progress.rb, line 26 def after_feature_element(*args) progress(:failed) if @exception_raised @exception_raised = false end
# File lib/cucumber/formatter/progress.rb, line 16 def after_features(features) @io.puts @io.puts print_summary(features) end
# File lib/cucumber/formatter/progress.rb, line 49 def after_outline_table(outline_table) @outline_table = nil end
# File lib/cucumber/formatter/progress.rb, line 40 def after_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background) progress(status) @status = status end
# File lib/cucumber/formatter/progress.rb, line 36 def after_steps(*args) @exception_raised = false end
# File lib/cucumber/formatter/progress.rb, line 22 def before_feature_element(*args) @exception_raised = false end
# File lib/cucumber/formatter/progress.rb, line 45 def before_outline_table(outline_table) @outline_table = outline_table end
# File lib/cucumber/formatter/progress.rb, line 31 def before_steps(*args) progress(:failed) if @exception_raised @exception_raised = false end
# File lib/cucumber/formatter/progress.rb, line 59 def exception(*args) @exception_raised = true end
# File lib/cucumber/formatter/progress.rb, line 53 def table_cell_value(value, status) return unless @outline_table status ||= @status progress(status) unless table_header_cell?(status) end