PDA

View Full Version : Cocoa/ObjC Unit Testing?




NewbieNerd
Jan 20, 2007, 12:14 AM
I'm trying to use this SenTestingKit.framework to write unit tests. I created a new target called Test, have a test in there subclassing SenTestCase, created a method like "-(void) testSomething { STAssertTrue(false,@"blah"); }, and the target builds without a hitch. Can someone figure out some step I missed? Thanks.



NewbieNerd
Jan 20, 2007, 11:46 PM
Figured it out... the testing target I was creating was a Testing Framework when it should have been (obviously) the Unit Test Bundle. Works now. :) :apple: