NSLog statements do not work during unit tests

I am testing my application in xcode, but for some reason I do not see any printouts in the debugger console from the NSLog () statements in my implementation files.

Why was that? And how do I get my damn printouts?

thanks

+7
debugging unit-testing xcode
source share
1 answer

Barney

Click on the error in the "Assembly Results" window (it will be with red text) and you will see an icon on the right with three horizontal lines.

If you click on these three lines, the results will be displayed directly under the error, and this will give you all the information about the object / comparison / case of the test that failed.

-2
source share

All Articles