lib/lopata/runner.rb in lopata-0.0.7 vs lib/lopata/runner.rb in lopata-0.0.8
- old
+ new
@@ -9,10 +9,11 @@
option :"no-log", type: :boolean, aliases: 'n'
option :focus, type: :boolean, aliases: 'f'
option :rerun, type: :boolean, aliases: 'r'
option :users, type: :array, aliases: 'u'
option :build, aliases: 'b'
+ option :keep, type: :boolean, aliases: 'k'
def test
require 'rspec'
Dir["./spec/support/**/*.rb"].sort.each { |f| require f}
ENV['HOME'] = File.absolute_path('.') # disable warning on rspec loading on windows
@@ -20,9 +21,10 @@
focus: options[:focus],
rerun: options[:rerun],
users: options[:users],
build: options[:build],
env: options[:env],
+ keep: options[:keep]
}
Lopata::Config.init(options[:env])
Lopata::Config.initialize_test
Lopata::Config.init_rspec