I have one test class and one test case. When I run my unit test, Xcode tells me all of my tests passed, but I have a warning that my tests didn't finish.
Do I have to do something special with XCTest to let it know I'm done with a particular test case?
Update: It may be a timing issue/bug. I put an [NSThread sleepForTimeInterval:.1]; in the tearDown method and now it works every time. Xcode also finished the tests fine periodically on its own without the sleep.
Update 2: Looks like some odd Xcode bug, I added a third test that is just doing text formatting validation and the warning shows up again.
[NSThread sleepForTimeInterval:.1];
(ickkk) to thetearDown
method of my test fixed it. Seems like an Xcode bug, though. – Preadamite