lib/onceover/cli/run.rb in onceover-3.8.0 vs lib/onceover/cli/run.rb in onceover-3.9.0

- old
+ new

@@ -2,10 +2,11 @@ require 'onceover/controlrepo' require 'onceover/cli' require 'onceover/runner' require 'onceover/testconfig' require 'onceover/logger' +require 'onceover/deploy' class Onceover class CLI class Run def self.command @@ -41,9 +42,10 @@ 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) + Onceover::Deploy.new.deploy_local(repo, opts) runner = Onceover::Runner.new(repo,Onceover::TestConfig.new(repo.onceover_yaml, opts), :spec) runner.prepare! runner.run_spec! end end