# File lib/parallel_tests/cucumber/runner.rb, line 31 def command_with_seed(cmd, seed) cmd = cmd.sub(/\s--order random(:\d*)?/, '') "#{cmd} --order random:#{seed}" end
# File lib/parallel_tests/cucumber/runner.rb, line 13 def line_is_result?(line) super || line =~ FAILED_SCENARIO_REGEX end
# File lib/parallel_tests/cucumber/runner.rb, line 9 def name 'cucumber' end
# File lib/parallel_tests/cucumber/runner.rb, line 17 def summarize_results(results) output = [] failing_scenarios = results.grep(FAILED_SCENARIO_REGEX) if failing_scenarios.any? failing_scenarios.unshift("Failing Scenarios:") output << failing_scenarios.join("\n") end output << super output.join("\n\n") end