Sha256: 2f1535f17883e55d487b2148d1ba6665fd94b6ec8764a9bf310e574afbbf3325
Contents?: true
Size: 793 Bytes
Versions: 8
Compression:
Stored size: 793 Bytes
Contents
module ParallelTests class CLI def run_tests_in_parallel(num_processes, options) test_results = nil report_time_taken do groups = @runner.tests_in_groups(options[:files], num_processes, options) non_empty_groups = groups.reject {|group| group.empty?} Sauce::TestBroker.test_groups = non_empty_groups report_number_of_tests(non_empty_groups) test_results = execute_in_parallel(non_empty_groups, non_empty_groups.size, options) do |group| run_tests(group, Sauce::TestBroker.group_index(group), num_processes, options) end Sauce.logger.debug "Parallel Tests reporting results." report_results(test_results) end abort final_fail_message if any_test_failed?(test_results) end end end
Version data entries
8 entries across 8 versions & 1 rubygems