Sha256: 9c0eee9f19ed681b99179869c1a2ffaa54a7906504b2a3a2107574a588308ea7

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 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)
        Sauce::TestBroker.test_groups = groups
        report_number_of_tests(groups)

        test_results = execute_in_parallel(groups, groups.size, options) do |group|
          run_tests(group, Sauce::TestBroker.group_index(group), num_processes, options)
        end

        report_results(test_results)
      end

      abort final_fail_message if any_test_failed?(test_results)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sauce-3.0.2 lib/parallel_tests/cli_patch.rb
sauce-3.0.1 lib/parallel_tests/cli_patch.rb