lib/guard/cucumber.rb
def run_all
      opts = options.merge(options[:run_all] || {})
      opts.merge!(message: "Running all features")
      passed = Runner.run(options[:feature_sets], opts)

      if passed
        @failed_paths = []
      else
        @failed_paths = read_failed_features if @options[:keep_failed]
      end

      @last_failed = !passed

      throw :task_has_failed unless passed
    end
# Gets called when all specs should be run.
#
# @raise [:task_has_failed] when stop has failed
#
Gets called when all specs should be run.
Gets called when all specs should be run .
def run_all
      opts = options.merge(options[:run_all] || {})
      opts.merge!(message: "Running all features")
      passed = Runner.run(options[:feature_sets], opts)
      if passed
        @failed_paths = []
      else
        @failed_paths = read_failed_features if @options[:keep_failed]
      end
      @last_failed = !passed
      throw :task_has_failed unless passed
    end
def run_all opts = options . merge ( options [ :run_all ] || { } ) opts . merge! ( message : "Running all features" ) passed = Runner . run ( options [ :feature_sets ] , opts ) if passed @failed_paths = [ ] else @failed_paths = read_failed_features if @options [ :keep_failed ] end @last_failed = ! passed throw :task_has_failed unless passed end
Gets called when all specs should be run.
Gets called when all specs should be run .
[:task_has_failed] when stop has failed
[ : task_has_failed ] when stop has failed