class ParallelTests::CLI
def run(argv)
def run(argv) Signal.trap("INT") { handle_interrupt } options = parse_options!(argv) ENV['DISABLE_SPRING'] ||= '1' num_processes = ParallelTests.determine_number_of_processes(options[:count]) num_processes *= (options[:multiply] || 1) options[:first_is_1] ||= first_is_1? if options[:execute] execute_shell_command_in_parallel(options[:execute], num_processes, options) else run_tests_in_parallel(num_processes, options) end end