O'Reilly logo

iOS 9 SDK Development by Janie Clayton, Chris Adamson

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

User Interface Testing

It’s great that we now have the ability to automatically test our app’s logic. If we inadvertently make a breaking change, or our assumptions get broken (like if Twitter goes out of business and its site disappears), then we’ll discover it the next time we run our test suite.

However, one thing we haven’t really exposed to testing is the user interface. If we broke the connection from a button to the method it calls, we would never know, because we test the method, not the button itself.

Testing user interfaces has always been really hard to do, which is why a lot of people don’t do it! The testing culture is much stronger among web developers—where you can always post the same HTTP request and scrape the HTML you get ...

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