Sunday, October 18, 2009

iPhone and Unit Tests

Finally, following a series of posts on Luis de la Rosa's blog, I have Google Toolbox for Mac up and running my Unit Tests for iPhone.

Here's a quick note in case you choose to download the latest code from SVN instead of downloading the pre-packaged v1.5.1 from Luis' page: in addition to the files he copies to the sample project, you need to copy two additional files, "GTMObjC2Runtime.h" and "GTMObjC2Runtime.m", into your "UnitTestFramework" group within Xcode. With these files included, your build of the UnitTest target will work successfully.

Now having a look at the continuous integration suggestions by Michael Nachbaur. Let's see whether I can get a Hudson instance running and packaging both, my test targets and the final application.

No comments:

Post a Comment