Frage

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?

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top