lib/parallel_tests/cli.rb in parallel_tests-0.16.3 vs lib/parallel_tests/cli.rb in parallel_tests-0.16.4
- old
+ new
@@ -95,9 +95,10 @@
opts.on("-p", "--pattern [PATTERN]", "run tests matching this pattern") { |pattern| options[:pattern] = /#{pattern}/ }
opts.on("--group-by [TYPE]", <<-TEXT
group tests by:
found - order of finding files
steps - number of cucumber/spinach steps
+ scenarios - individual cucumber scenarios
default - runtime or filesize
TEXT
) { |type| options[:group_by] = type.to_sym }
opts.on("-m [FLOAT]", "--multiply-processes [FLOAT]", Float, "use given number as a multiplier of processes to run") { |multiply| options[:multiply] = multiply }