From: Simon Crase Date: 2002-05-28T12:37:51+09:00 Subject: RE: using test::unit for C++ unit tests >-----Original Message----- >From: Dossy [mailto:dossy@panoptic.com] >Sent: Tuesday, 28 May 2002 1:18 PM >To: ruby-talk@ruby-lang.org >Subject: Re: using test::unit for C++ unit tests >On 2002.05.27, Phil Tomson wrote: >> >How about CppUnit? >> > >> > http://cppunit.sourceforge.net/ >> >> Someone else just mentioned this. I'll check it out. >> >> > >> >I hear CppUnit is miserable, though. >> >> Anything specific, or is it just miserable in comparison like C++ in >> general tends to be 'miserable' to work with compared to Ruby? > >I can't comment because I haven't used CppUnit, but I recall it's >supposed to be an attempt at a port of JUnit into C++ which doesn't >work very well. Or something like that. I've used CppUnit, JUnit and RubyUnit. CppUnit isn't as nice to use as JUnit, but IMO that is more the fault of C++ than of CppUnit. There are macros to make up for the absence of reflection: you need to place the macro calls in your .hpp & .cpp files to ensure that the tests get linked automatically. I would much rather use CppUnit than do without test first - and version 1.6.2 was good enough that I didn't want to spend time writing my own tests. Cheers, Simon Simon A. Crase Invetech Pty Ltd Private Bag 44 495 Blackburn Road Mount Waverley Vic 3149 Phone: 61 3 9211 7933 Mobile: 0408 579 006 Fax: 61 3 9211 7702 (facsimile) e-mail: simon.crase@invetech.com.au ___________________________________________________________ IMPORTANT - This email and any attachments may be confidential. Any retransmissions, dissemination or other use of these materials by persons or entities other than the intended recipient is prohibited. If received in error, please contact us and delete all copies. Before opening or using attachments, check them for viruses and defects. Our liability is limited to resupplying any affected attachments. [Any representations or opinions expressed in this e.mail are those of the individual sender, and not necessarily those of Vision Systems Limited].