Module: Cucumber::Formatter::LegacyApi::Adapter::TestStepSource

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

Defined Under Namespace

Classes: Collector, StepSource

Class Method Summary collapse

Class Method Details

.for(test_step, result) ⇒ Object



181
182
183
184
185
# File 'lib/cucumber/formatter/legacy_api/adapter.rb', line 181

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