PDA

View Full Version : Failing unit tests don't show errors in editor window




Belmakor
Jan 24, 2011, 07:11 PM
This is driving me nuts. I've configured my project to have unit tests, and the tests run fine. But when I have a test failure, the iOS developer documentation example shows that the error should be shown in the editor window. This for me doesn't happen, I have to drill down through the build output window to find the error.

I've seen a few posts on Stack Overflow about this, but no one with solutions.

Anyone here with any clue what might be happening?



Luke Redpath
Jan 25, 2011, 06:12 AM
Known bug, never worked IIRC.

Works fine in Xcode 4 but there are plenty of other unit testing bugs there so don't get your hopes up.

Belmakor
Jan 25, 2011, 06:49 AM
Thanks. I did more trawling round the net and had pretty much come to the same conclusion *have to be satisfied with the way it works in xcode 3.2 for now, and wait for xcode 4 to stabilise to be able to use it without its constant crashes.