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
15 16 17 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 15 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 9 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 6 def self.reset_simulator sh 'calabash-ios sim reset' close_simulator end |
.sim_location(bundle_id) ⇒ Object
11 12 13 |
# File 'lib/rake_ci_tools/runners/calabash.rb', line 11 def self.sim_location(bundle_id) sh "calabash-ios sim location on #{bundle_id}" end |