Re: Unit testing - printf and gdb
Re: Unit testing - printf and gdb
- Subject: Re: Unit testing - printf and gdb
- From: Dave Carrigan <email@hidden>
- Date: Tue, 10 Jun 2008 08:52:34 -0700
On Jun 10, 2008, at 7:45 AM, Alan Shouls wrote:
Do you know it possible to get the debugger working while running
tests?
You set the active executable to /Developer/Tools/CPlusTestRig and set
the argument to be the path to your unit test bundle.
However, if you're serious about unit testing in C++, you may want to
find something else besides CPlusTest, which has only a single test
assertion (CPTAssert); lame reporting (e.g., if CPTAssert(x == 5)
fails, it doesn't bother to tell you what value x actually had); and
is not cross-platform.
I'm quite fond of CxxTest myself, and it integrates quite easily with
Xcode.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
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