We have calabash+cucumber , fabrica with a beta web application on devices, where we can see and install the last build we have built, ci - Bamboo, ruby 2.0 , all tests are written in ruby .

I can write a script that will send the ipa file immediately after building the build from Bamboo to my test server (where all the tests are stored and run using calabash ios)

Further, my thoughts are in the following direction:

  1. It is necessary after receiving the ipa file to run a script that automatically installs my.ipa without Xcode on a physical device
  2. Then I can write a bash script that will run auto tests on physical devices.
  • specify the question, please. Opinion polls do not fit into the site: ru.stackoverflow.com/help/dont-ask - aleksandr barakin
  • More or less concretized question. - grinpic 4:05 pm
  • Alas, but this is still a “questionnaire question.” - aleksandr barakin 4:18 pm
  • without xcode, two options come to mind: via sync in itunes and through fabric / hockeyapp / testflight with email acceptance on the device and installation. Both options involve user actions, so full automation will fail. You can try to install the build through the fabric once with your hands, and then it will already be in the application to request permission to upgrade, if it sees a new build, it seems to me that I can try to draw automation - Max Mikheyenko
  • either, connect the osx slave to bamboo and build on it with the connected device - Max Mikheyenko

1 answer 1

Try Xcode Server. He should be able to download the sources, compile them and run on the connected devices. He also has an API for management. The result of the tests can be viewed in the browser or received by mail.

https://honzadvorsky.com/articles/2015-08-04-xcs_tutorials_1_getting_started/

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/