How do I clear unit test results in Xcode?

To answer my own question. It appears you have to switch back to the Unit Test scheme, clear the build folder, then switch back to the project to keep the issues from popping back up.


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


Delete all the logs in ~/Library/Developer/Xcode/DerivedData/<project>/Logs/Test

enter image description here

PS: the easiest way to shortcut to this folder within Xcode is:

  • goto the "Report Navigator" (last tab in the panel on the left)
  • right click an entry that begins "Test" or "Log" or "Coverage"
  • chose "Show in Finder".

enter image description here