Class: CucumberCharacteristics::Formatter

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

Instance Method Summary collapse

Constructor Details

#initialize(runtime, io, options) ⇒ Formatter

Returns a new instance of Formatter.



5
6
7
8
9
10
# File 'lib/cucumber_characteristics/formatter.rb', line 5

def initialize(runtime, io, options)
  @runtime = runtime
  @io = io
  @options = options
  @features = {}
end

Instance Method Details

#after_features(features) ⇒ Object

def after_feature(scenario) end



30
31
32
33
# File 'lib/cucumber_characteristics/formatter.rb', line 30

def after_features(features)
  profile = ProfileData.new(@runtime, features)
  Exporter.new(profile).export
end