Use of Unit Test in Xcode 5

Christian Seiler picture Christian Seiler · Sep 26, 2013 · Viewed 10k times · Source

I am writing my first bigger iOS project and I want to use as much of Xcode 5 as possible. Now I want to use testing but I have never done it before.

My project uses come Views and dynamic `TableViews. How could I implement the test in the code, so that it makes sense?

Answer

matm picture matm · Sep 28, 2013

Please start by watching WWDC '13 session 409 - Testing in Xcode 5. It's a very good starting point.

Next, if you're not feeling confident of your approach to unit testing, I'd recommend reading "Test-Driven iOS Development" by Graham Lee.

For now, remember that a unit test tests single "unit" of functionality and does not cover performance, UI interaction and whole system integration.