Running a single test method

Using OCUnit and Xcode, is there a way to run only one test?

Ideally, I could run only one test method, but if there is a way to run only one test case, that would be fine too.

I am currently running the Test task, which runs all my tests, but it takes a lot of time, which ideally could be spent on other things.

+5
source share
1 answer

See this post from an Xcode engineer:

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

The last paragraph explains how to specify one class of test case.

. Chris :

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

+1

All Articles