objective-cunit-testingxcodeoctest

Xcode missing inline test results


Everywhere there are pretty pictures of failing tests shown inline in the code editor, like in Peepcodes Objective-C for Rubyist screencast and in apples own technical documentation:

Test result shown inline
(source: apple.com)

When I build my test-target, all I get is a little red icon down in the right corner, stating something went wrong. When clicking on it, I get the Build Results, where I can start to hunt for test results.

Do anyone have a clue on what´s wrong?


Solution

  • Have a look at your Xcode preferences. Under the Building tab you want to change your settings for Message Bubbles.

    This works for Xcode 3.1 which it looks like the image you've shown. Xcode 3.2 has a different style of bubble and doesn't have this preference.