Jason Bock

Home Biography Speaking Articles Books Music

No Unit Testing for iPhone Applications

Today I decided to add unit tests to my code. Yeah, I know, I should’ve done this out of the gate, but at the time I started coding I was more interested in getting up to speed as fast as I could on the environment. Since I’ve been able to move a bit quicker than expected, I started to look into the testing facilities in Xcode. I found an Apple document on testing, so I dove in … without reading the note at the top:

iPhone OS Unit Testing Support: Unit tests are not supported for iPhone applications.

Argh!

Through some searching I found another link and a wiki page that talks about a unit testing stack for iPhone apps. If anyone out there knows of serious issues using this framework add a comment, otherwise I’ll give this a whirl and see what happens.

Published: 09.26.2008 09:48:45 AM CST