unit testing - Deleted tests persist in Xcode test navigator -


i removed old test classes project , deleted files. expected, files moved trash , showed removed in git.

unfortunately, test classes , test cases define continue appear in test navigator. i've tried usual suspects cleaning & rebuilding, , quitting & reopening xcode.

the remaining tests run fine; @ end of all-tests run, navigator shows phantom tests no indicated status.

un-run phantom test cases

i've begun think there erroneous state in project file that's keeping these phantom test cases around, don't know enough internals debug further.

my problem distinct scenario described here because of test cases stick around in test navigator, rather disappearing.

delete deriveddata directory. apparently xcode parses test classes , writes test definition files of sort deriveddata. uses definition files populate test navigator.

unfortunately, deleting test class within xcode not cause cache invalidated , rebuilt. instead, 1 must clear cache manually.

i had incorrectly assumed test definitions stored in memory, why expected quitting xcode solve problem.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -