lib/uispecrunner/options.rb in uispecrunner-0.4.0 vs lib/uispecrunner/options.rb in uispecrunner-0.4.1
- old
+ new
@@ -16,11 +16,11 @@
self[:run_mode] = :all
self[:configuration] = 'Debug'
self[:build_dir] = './build'
self[:verbose] = false
self[:sdk_version] = '4.0'
- self[:driver] = :shell
+ self[:driver] = :waxsim
self[:exit_on_finish] = true
require 'optparse'
@opts = OptionParser.new do |o|
o.banner = "Usage: #{File.basename($0)} [options]\ne.g. #{File.basename($0)}"
@@ -62,12 +62,12 @@
'Build and run the specified XCode scheme.',
'Default: UISpec (If workspace provided)') do |scheme|
self[:scheme] = scheme
end
- o.on('--driver [DRIVER]', [:shell, :osascript],
- "Select driver (shell, osascript)",
- 'Default: shell') do |driver|
+ o.on('--driver [DRIVER]', [:shell, :osascript, :waxsim],
+ "Select driver (shell, osascript, waxsim)",
+ 'Default: waxsim') do |driver|
self[:driver] = driver.to_sym
end
o.on('--sdk [VERSION]',
'Run the UISpec target against the iPhone SDK version',