Method: Cucumber::Formatter::Query::PickleByTest#initialize

Defined in:
lib/cucumber/formatter/query/pickle_by_test.rb

#initialize(config) ⇒ PickleByTest

Returns a new instance of PickleByTest.

[View source] [View on GitHub]

9
10
11
12
# File 'lib/cucumber/formatter/query/pickle_by_test.rb', line 9

def initialize(config)
  @pickle_id_by_test_case_id = {}
  config.on_event :test_case_created, &method(:on_test_case_created)
end