Module: Cucumber::Formatter::LegacyApi::Adapter::TestCaseSource

Defined in:
lib/cucumber/formatter/legacy_api/adapter.rb

Defined Under Namespace

Classes: CaseSource, Collector

Class Method Summary collapse

Class Method Details

.for(test_case, result) ⇒ Object



157
158
159
160
161
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 157

def self.for(test_case, result)
  collector = Collector.new
  test_case.describe_source_to collector, result
  collector.result.freeze
end