unit testing - How to run single testcase in XCode? -
I know that this is the best practice to run all unit testcases after any change so that nothing breaks Take some time, however, eg. Debugging, I really want to run only one test case. It seems that XCode does not provide such a feature in the UI, while other test frameworks such as Junket have such features.
Is there a way to run only a testcase in XCode?
PS Most of my test cases are logic tests, so they are not running in the iPhone device.
EXCODE 4 Now this feature is just a "run scheme", which has test cases that you run Want to
- Open menu
Edit product ... ...
- Click on
Edit ...
- In the left pane, expand the
Test
section. - In the right pane, expand the test bundle and uncheck the test cases that you do not need to run.
Comments
Post a Comment