Unit testing - printf and gdb
Unit testing - printf and gdb
- Subject: Unit testing - printf and gdb
- From: Alan Shouls <email@hidden>
- Date: Tue, 10 Jun 2008 10:29:16 +0100
Hi,
I have been experimenting with the C++ unit testing that is built into
xcode. It is pretty straightforward and works just fine. In test driven
development you fully expect to get test failures - which you then
debug and fix. And here is my problem
- If I include printf or squirt stuff in cout, when running the tests
in xcode, I can't seem to see any output - where does it go? I have
optimistically looked at the console in xcode, and in the proper
console and can't seem to see anything. My guess is that this is some
basic "numpty" error on my part - but I would be happy for a heads up.
- Is it possible to enter into tests in the debugger. I could not see a
way to do this - but I would dearly love to set breakpoints and start
"mixing it" with the debugger
Best regards
Alan Shouls
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden