Cocoa/ObjC Unit Testing?

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

  1. macrumors 6502a

    NewbieNerd

    Joined:
    Sep 22, 2005
    Location:
    Chicago, IL
    #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. thread starter macrumors 6502a

    NewbieNerd

    Joined:
    Sep 22, 2005
    Location:
    Chicago, IL
    #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