• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unit testing - printf and gdb
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Unit testing - printf and gdb (From: Alan Shouls <email@hidden>)
 >Re: Unit testing - printf and gdb (From: Aaron Montgomery <email@hidden>)
 >Re: Unit testing - printf and gdb (From: Alan Shouls <email@hidden>)

  • Prev by Date: Re: Unit testing - printf and gdb
  • Next by Date: Problem with BOOST library xcode 3 (10.5)
  • Previous by thread: Re: Unit testing - printf and gdb
  • Next by thread: Problem with BOOST library xcode 3 (10.5)
  • Index(es):
    • Date
    • Thread