Module: Guard::Cucumber::Runner
- Defined in:
- lib/guard/cucumber/runner.rb
Overview
The Cucumber runner handles the execution of the cucumber binary.
Class Method Summary collapse
-
.run(paths, options = { }) ⇒ Boolean
Run the supplied features.
Class Method Details
.run(paths, options = { }) ⇒ Boolean
Run the supplied features.
19 20 21 22 23 24 25 26 |
# File 'lib/guard/cucumber/runner.rb', line 19 def run(paths, = { }) return false if paths.empty? = [:message] || (paths == ['features'] ? "Running all Cucumber features: #{ cucumber_command(paths, ) }" : "Running Cucumber features: #{ cucumber_command(paths, ) }") UI.info , :reset => true system(cucumber_command(paths, )) end |