lib/lopata/runner.rb in lopata-0.0.13 vs lib/lopata/runner.rb in lopata-0.0.14
- old
+ new
@@ -10,10 +10,11 @@
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'
+ option :text, aliases: 't'
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
@@ -21,10 +22,11 @@
focus: options[:focus],
rerun: options[:rerun],
users: options[:users],
build: options[:build],
env: options[:env],
- keep: options[:keep]
+ keep: options[:keep],
+ text: options[:text]
}
Lopata::Config.init(options[:env])
Lopata::Config.initialize_test
Lopata::Config.init_rspec