Module: Calabash_Runner
- Defined in:
- lib/rake_ci_tools/runners/calabash.rb
Class Method Summary collapse
- .close_simulator ⇒ Object
- .enable_accessibility ⇒ Object
- .reset_simulator ⇒ Object
- .sim_location(bundle_id) ⇒ Object
Class Method Details
.close_simulator ⇒ Object
14 15 16 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 14 def self.close_simulator sh "/usr/bin/osascript -e 'tell app \"iPhone Simulator\" to quit'" end |
.enable_accessibility ⇒ Object
2 3 4 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 2 def self.enable_accessibility sh 'calabash-ios sim acc' end |
.reset_simulator ⇒ Object
6 7 8 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 6 def self.reset_simulator sh 'calabash-ios sim reset' end |
.sim_location(bundle_id) ⇒ Object
10 11 12 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 10 def self.sim_location(bundle_id) sh "calabash-ios sim location on #{bundle_id}" end |