Method: Cucumber::Formatter::Summary#scenario_summary
- Defined in:
- lib/cucumber/formatter/summary.rb
#scenario_summary(runtime, &block) ⇒ Object
5 6 7 8 |
# File 'lib/cucumber/formatter/summary.rb', line 5 def scenario_summary(runtime, &block) scenarios_proc = lambda{|status| runtime.scenarios(status)} dump_count(runtime.scenarios.length, "scenario") + dump_status_counts(scenarios_proc, &block) end |