O'Reilly logo

Test iOS Apps with UI Automation by Jonathan Penn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Stress Testing

The power of Instruments really shines when you’re trying to stress-test. Multithreaded applications running under resource constraints are very complicated to debug. As we’ve discussed, memory warnings can trigger at any moment and the application needs to be ready to handle them. What if something was purged that the app needed? What if two simultaneous operations conflict or one completes later than expected?

Testing iOS applications isn’t just about testing behavior or hunting for specific performance issues. It also means stress-testing to expose race conditions or other strange bugs that surface under heavy load. Users may not walk through the same outrageous steps as your stress tests, but they may encounter some of the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required