Re: [Cppunit-devel] Most user-friendly version of CppUnit
Brought to you by:
blep
From: Noel Y. <Noe...@mo...> - 2003-07-29 14:02:18
|
The macros certainly go a long way in making CppUnit a bit more user friendly. Personally, I don't like the macros since: - IIRC, they get in the way of emacs fontification and indentation - they don't conform to our coding standards - I just don't like using macros for code generation purposes, there are better tools out there for this Noel Martin Lescuyer wrote: > > In addition, I'd say that helper macros help a lot when writing a new > testMethod, and makes its registration within a TestFixture and the > TestFixture into a TestSuite *VERY* easy. > Martin > > Just an illusion, but so good, so nice ! > > Noel Yap <Noe...@mo...> > Sent by: cpp...@li... > 28/07/2003 21:40 > Please respond to Noel.Yap > > > To: Bob Johnson <bjo...@pc...> > cc: cpp...@li..., bjo...@co... > Subject: Re: [Cppunit-devel] Most user-friendly version of CppUnit > > Depending on what you're expecting, I'm not sure you'll be able to get > what you want since JUnit uses reflection to "know" the names of your test > cases while C++ doesn't have reflection. > > I think, once you start using CppUnit, it's pretty easy to use. In order > to get automagic knowledge of test case names, in our build, I put > together a script using typical command-line tools (eg perl, sed, awk, > grep) so in practice, it's possible to get > what JUnit affords, but it'll take a little more work. > > HTH, > Noel > -- > NOTICE: If received in error, please destroy and notify sender. Sender > does not waive confidentiality or privilege, and use is prohibited. > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Cppunit-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppunit-devel > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Cppunit-devel mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppunit-devel -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. |