lib/parallel_tests/cli.rb in parallel_tests-3.2.0 vs lib/parallel_tests/cli.rb in parallel_tests-3.3.0
- old
+ new
@@ -190,9 +190,15 @@
"Do not run any other tests in the group used by --single(-s)") do |pattern|
options[:isolate] = true
end
+ opts.on("--isolate-n [PROCESSES]",
+ Integer,
+ "Use 'isolate' singles with number of processes, default: 1.") do |n|
+ options[:isolate_count] = n
+ end
+
opts.on("--only-group INT[, INT]", Array) { |groups| options[:only_group] = groups.map(&:to_i) }
opts.on("-e", "--exec [COMMAND]", "execute this code parallel and with ENV['TEST_ENV_NUMBER']") { |path| options[:execute] = path }
opts.on("-o", "--test-options '[OPTIONS]'", "execute test commands with those options") { |arg| options[:test_options] = arg.lstrip }
opts.on("-t", "--type [TYPE]", "test(default) / rspec / cucumber / spinach") do |type|