Im having a very sneaky issue in Xcode and its "Log Navigator".
I've recreated the issue like so; I have a very simple OCUnit test:
-(void)testSimpleFailure{
STFail(@"Please fail!");
}
I clean my build, I build my test scheme, and run my tests.
In the output console window I see all my test execute, including the one above. The console displays the test actually ran AND failed:
##teamcity[testFailed name='-|[SimpleTestClassTests.testSimpleFailure|]' message='Please fail!' details='']
HOWEVER, Xcode displays the "Tests Succeeded overlay" and the "Log Navigator" on the left says there are no issues and all is green.
Has anyone else had a similar issue? Does anyone know how to resolve this?
I would very much like to not get a false positive before I commit.
Edited to clarify my question.