Class/Module Index [+]

Quicksearch

Cucumber::Formatter::Summary

Public Instance Methods

scenario_summary(step_mother, &block) click to toggle source
# File lib/cucumber/formatter/summary.rb, line 5
def scenario_summary(step_mother, &block)
  scenarios_proc = lambda{|status| step_mother.scenarios(status)}
  dump_count(step_mother.scenarios.length, "scenario") + dump_status_counts(scenarios_proc, &block)
end
step_summary(step_mother, &block) click to toggle source
# File lib/cucumber/formatter/summary.rb, line 10
def step_summary(step_mother, &block)
  steps_proc = lambda{|status| step_mother.steps(status)}
  dump_count(step_mother.steps.length, "step") + dump_status_counts(steps_proc, &block)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.