Class: ParallelTests::Cucumber::Runner
Constant Summary
Constants inherited
from Test::Runner
Test::Runner::NAME
Class Method Summary
collapse
cucumber_opts, determine_executable, profile_from_config, run_tests, runtime_log, runtime_logging, test_file_name, test_suffix, tests_in_groups
execute_command, execute_command_and_capture_output, find_results, run_tests, runtime_log, test_env_number, test_file_name, test_suffix, tests_in_groups, tests_with_size
Class Method Details
.line_is_result?(line) ⇒ Boolean
11
12
13
|
# File 'lib/parallel_tests/cucumber/runner.rb', line 11
def line_is_result?(line)
super or line =~ failing_scenario_regex
end
|
.name ⇒ Object
7
8
9
|
# File 'lib/parallel_tests/cucumber/runner.rb', line 7
def name
'cucumber'
end
|
.summarize_results(results) ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/parallel_tests/cucumber/runner.rb', line 15
def summarize_results(results)
output = []
failing_scenarios = results.grep(failing_scenario_regex)
if failing_scenarios.any?
failing_scenarios.unshift("Failing Scenarios:")
output << failing_scenarios.join("\n")
end
output << super
output.join("\n\n")
end
|