Unit testing an iPhone static library with XCode 3

Posted by teabot on Stack Overflow See other posts from Stack Overflow or by teabot
Published on 2009-07-07T18:46:11Z Indexed on 2010/05/11 6:04 UTC
Read the original article Hit count: 342

I am writing a number of static libraries for the iPhone and wish also to have suites of unit tests. XCode 3 provides templates for both static libraries and unit tests but I am wondering how they should fit together in a static library project?

In my static library project I have created a target for unit testing but expect to also create an executable to kick off the unit tests than run against the classes in the static library.

What is the procedure for doing this?

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about objective-c