Method: ParallelAppium::ParallelAppium#execute_specs
- Defined in:
- lib/parallel_appium.rb
#execute_specs(platform, threads, spec_path, parallel = false) ⇒ Object
Decide whether to execute specs in parallel or not
94 95 96 97 98 99 100 101 102 103 |
# File 'lib/parallel_appium.rb', line 94 def execute_specs(platform, threads, spec_path, parallel = false) command = if parallel "platform=#{platform} parallel_rspec -n #{threads} #{spec_path}" else "platform=#{platform} rspec #{spec_path} --tag #{platform}" end puts "Executing #{command}" exec command end |