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