Methods

Gherkin::Tools::Stats

Public Instance Methods

run() click to toggle source
    # File lib/gherkin/tools/stats.rb, line 8
 8:       def run
 9:         formatter = StatsFormatter.new
10:         each do |f|
11:           parser = Gherkin::Parser::Parser.new(formatter, true)
12:           parser.parse(IO.read(f), f, 0)
13:         end
14:         puts "Features:  #{listener.features}"
15:         puts "Scenarios: #{listener.scenarios}"
16:         puts "Steps:     #{listener.steps}"
17:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.