Beginning Automated Testing With Xcode Part 2/2

Note from Ray: This is the tenth and final iOS 6 tutorial in the iOS 6 Feast! This tutorial comes from our new book iOS 6 By Tutorials. Charlie Fulton wrote this chapter – a friend of mine and one of the newest members of the Tutorial Team. Enjoy! This is a blog post by […] By Charlie Fulton.

Leave a rating/review
Save for later
Share
You are currently viewing page 4 of 4 of this article. Click here to view the first page.

Where to go from here?

You should now be equipped to set up an automated building, testing, and distribution system for all of your iOS apps!

Let’s recap what you did in this chapter:

  • First you learned how to set up a remote repo on Github, giving you a spot to share and test your code.
  • After that, you took a look at continuous integration with Jenkins, and created a nice build script step-by-step, first building, then testing, and finally uploading your archived app to Testflight.
  • You also looked at how to include a “bottom up” approach to unit testing your code. If you’re interested in learning more about unit testing in iOS, I highly recommend the book Test-Driven iOS Development by Graham Lee. I also encourage all of you to submit a radar to apple to make it easier to run the application unit tests from scripts, without hacks!

If you enjoyed this tutorial and want to learn more, check out our new book iOS 6 by Tutorials, where you take the same app and do some “top down” unit testing by creating a cool little testing robot. This robot willg use instruments and a UI Automation script to drive some UI interactions in the GuildBrowser app. :]

If you have any questions or comments on this tutorial or have any questions about automated testing in general, please join the forum discussion below!


This is a blog post by iOS Tutorial Team member Charlie Fulton, a full time iOS developer who enjoys hunting, fishing, and hanging out with his family.

Charlie Fulton

Contributors

Charlie Fulton

Author

Over 300 content creators. Join our team.