Sha256: d00472d8d54b0f7b242c8842c93451fca4c9b53e551b211a9b4de4ad9eebbf8b

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sauce-3.0.0 lib/parallel_tests/cli_patch.rb
sauce-3.0.0.beta.2 lib/parallel_tests/cli_patch.rb