0

I know that Apple recommends to use its Instruments's tool UIAutomation for testing GUI in iOS projects. But is it really useful? Is it really good for regression tests? What's about automatic testing nightly builds?

I heard about Fone Monkey and other open source projects, but don't know whether they will serve this purpose.

Ian
  • 10,336
  • 2
  • 34
  • 54
gN0Me
  • 445
  • 1
  • 6
  • 17
  • I'd look at Frank, KIF or UIAutomation. Useful discussion at http://stackoverflow.com/questions/402389/automated-testing-for-iphone – Stew Oct 26 '11 at 03:52
  • We wrote the [Illuminator](https://github.com/paypal/Illuminator) framework to do CI for our mobile apps at PayPal. – Ian Apr 01 '15 at 21:30

2 Answers2

1

We use it for automatic CI testing. UIAutomation is fairly powerful as long as you only run your tests on iOS 5. Support for running UIAutomation tests from the command line is limited but exists in Xcode 4.2. We use tuneup_js to structure the tests and fruitstrap to install the app on our test devices. Everything is run from jenkins using various bash- and ruby-scripts to do the work.

Jens Utbult
  • 941
  • 1
  • 7
  • 16
0

Fone Monkey is having record and play back options which is not there in instruments. But as Instruments is performance tool which further includes so many tools to work on like Zombies,Allocations,Automation and so on. And after all it is given by Apple itself. Both have pros and cons but going with instruments for awhile is best thing.

vishal
  • 11
  • 2