class Cucumber::Formatter::Progress

The formatter used for --format progress

def after_test_case(_test_case, result)

def after_test_case(_test_case, result)
  @total_duration += DurationExtractor.new(result).result_duration
end

def after_test_step(test_step, result)

def after_test_step(test_step, result)
  progress(result.to_sym) if !HookQueryVisitor.new(test_step).hook? || result.failed?
  collect_snippet_data(test_step, result) unless HookQueryVisitor.new(test_step).hook?
end

def before_test_case(_test_case)

def before_test_case(_test_case)
  unless @profile_information_printed
    print_profile_information
    @profile_information_printed = true
  end
  @previous_step_keyword = nil
end

def done

def done
  @io.puts
  @io.puts
  print_summary
end

def initialize(runtime, path_or_io, options)

def initialize(runtime, path_or_io, options)
  @runtime, @io, @options = runtime, ensure_io(path_or_io), options
  @previous_step_keyword = nil
  @snippets_input = []
  @total_duration = 0
end

def print_summary

def print_summary
  print_steps(:pending)
  print_steps(:failed)
  print_statistics(@total_duration, @options)
  print_snippets(@options)
  print_passing_wip(@options)
end

def progress(status)

def progress(status)
  char = CHARS[status]
  @io.print(format_string(char, status))
  @io.flush
end

def table_header_cell?(status)

def table_header_cell?(status)
  status == :skipped_param
end