lib/onceover/cli/run.rb in onceover-3.1.0 vs lib/onceover/cli/run.rb in onceover-3.1.1
- old
+ new
@@ -36,9 +36,11 @@
@cmd ||= Cri::Command.define do
name 'spec'
usage 'spec'
summary 'Runs spec tests'
+ optional :p, :parallel, 'Runs spec tests in parallel. This increases speed at the cost of poorly formatted logs and irrelevant junit output.'
+
run do |opts, args, cmd|
repo = Onceover::Controlrepo.new(opts)
runner = Onceover::Runner.new(repo,Onceover::TestConfig.new(repo.onceover_yaml, opts), :spec)
runner.prepare!
runner.run_spec!