views:

26

answers:

1

In XCode - Is there a way of running just one test(one test case or preferably one test method). What I do today is to run the 'Test' task which runs all tests and takes up a lot of time.

Thanks

+1  A: 

See this post from an Xcode engineer:

http://chanson.livejournal.com/119578.html

The last paragraph explains how to specify a single test case class.

For more info see Chris' entire series on unit testing:

http://chanson.livejournal.com/tag/unit%20testing

Todd Ditchendorf