Sha256: 003fc8ece1922b9264e56a6323a92878c3d763760c0bf80def76e1813b7b640f

Contents?: true

Size: 631 Bytes

Versions: 1

Compression:

Stored size: 631 Bytes

Contents

class ScenarioList
  attr_accessor :scenarios

  def scenarios
    @scenarios
  end

  def before_test_step(test_step)
  end

  def after_test_step(test_step, result)
  end

  def before_test_case(test_case)
  end

  def after_test_case(test_case, result)
    @scenarios ||= []
    @scenarios << [test_case.feature.file, test_case.location.line].join(':')
  end

  def done
  end

  # Cucumber 3.0+ API
  def test_step_started(test_step)
  end

  def test_step_finished(test_step, result)
  end

  def test_case_started(test_case)
  end

  def test_case_finished(test_case, result)
    after_test_case(test_case, result)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cukeforker-2.1.1 lib/cukeforker/scenario_list.rb