lib/parallel_tests/cli.rb in parallel_tests-1.1.1 vs lib/parallel_tests/cli.rb in parallel_tests-1.2.0
- old
+ new
@@ -153,9 +153,11 @@
if options[:count] == 0
options.delete(:count)
options[:non_parallel] = true
end
+ abort "Pass files or folders to run" if argv.empty? && !options[:execute]
+
options[:files] = argv
options[:group_by] ||= :filesize if options[:only_group]
raise "--group-by found and --single-process are not supported" if options[:group_by] == :found and options[:single_process]