lib/cucumber/formatter/progress.rb in aslakhellesoy-cucumber-0.3.93.1 vs lib/cucumber/formatter/progress.rb in aslakhellesoy-cucumber-0.3.94
- old
+ new
@@ -16,10 +16,15 @@
@io.puts
@io.puts
print_summary(features)
end
+ def visit_feature_element(feature_element)
+ record_tag_occurrences(feature_element, @options)
+ super
+ end
+
def visit_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background)
progress(status)
@status = status
end
@@ -34,10 +39,11 @@
print_steps(:pending)
print_steps(:failed)
print_stats(features)
print_snippets(@options)
print_passing_wip(@options)
+ print_tag_limit_warnings(@options)
end
CHARS = {
:passed => '.',
:failed => 'F',
@@ -49,10 +55,10 @@
def progress(status)
char = CHARS[status]
@io.print(format_string(char, status))
@io.flush
end
-
+
def table_header_cell?(status)
status == :skipped_param
end
end
end