Module: Specjour::Cucumber::Runner
- Defined in:
- lib/specjour/cucumber/runner.rb
Class Method Summary collapse
Class Method Details
.run(feature) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/specjour/cucumber/runner.rb', line 4 def self.run(feature) Cucumber.runtime.instance_eval do @loader = nil @configuration.parse!([feature]) tree_walker = @configuration.build_tree_walker(self) self.visitor = tree_walker tree_walker.visit_features features end end |