Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I clear unit test results in Xcode?

I'm having trouble clearing the test results for unit tests in Xcode 4. Basically, I ran a unit test which results in normal warnings. But, when I switch to regular bundle and run a build, the unit test results are still sticking around.

Is there any way to clear them from the Issue Navigator?

Basically, I want a way to clear the Issue Navigator.

like image 696
AWF4vk Avatar asked Jun 18 '11 15:06

AWF4vk


People also ask

How do I delete a test in Xcode?

You can either right click the test and delete or select the target then select the minus symbol ( - ) at the bottom of the Document Navigator pane. Hope this helps.

How do I get unit test report in Xcode?

Adding a unit test in XcodeGo to File > New > Target. Select iOS Unit Testing Bundle and then click Next. When you create a new Unit Test target for your project, it consists of a template class.

How do I run XCTest in Xcode?

Test Lab runs unit tests and UI tests using the XCTest framework. To run your app's XCTests on Test Lab devices, build it for testing on a Generic iOS Device: From the device dropdown at the top of your Xcode workspace window, select Generic iOS Device. In the macOS menu bar, select Product > Build For > Testing.


1 Answers

After writing Kiwi BDD tests I have to completely close my project and reopen it to clear test cases in the Test navigator.

like image 82
Eric Anderson Avatar answered Sep 23 '22 03:09

Eric Anderson