Class: Cucumber::Formatter::Steps

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/formatter/steps.rb

Overview

The formatter used for --format steps

Instance Method Summary collapse

Constructor Details

#initialize(runtime, path_or_io, options) ⇒ Steps

Returns a new instance of Steps.



6
7
8
9
10
# File 'lib/cucumber/formatter/steps.rb', line 6

def initialize(runtime, path_or_io, options)
  @io = ensure_io(path_or_io, "steps")
  @options = options
  @step_definition_files = collect_steps(runtime)
end

Instance Method Details

#after_features(features) ⇒ Object



12
13
14
# File 'lib/cucumber/formatter/steps.rb', line 12

def after_features(features)
  print_summary
end