1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Cocoa/ObjC Unit Testing?

Discussion in 'Mac Programming' started by NewbieNerd, Jan 19, 2007.

  1. macrumors 6502a

    NewbieNerd

    #1
    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.
     
  2. macrumors 6502a

    NewbieNerd

    #2
    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:
     

Share This Page