Re: Most user-friendly version of CppUnit

Noel Yap <Noel.Yap-/PgpppG8B+R7qynMiXIxWgC/[email protected]> Tue, 29 Jul 2003 10:02:15 -0400
Newsgroups gmane.comp.lib.cppunit.devel
Organization Morgan Stanley
Message-ID <[email protected]>
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 <Noel.Yap-/PgpppG8B+R7qynMiXIxWgC/[email protected]>
> Sent by: cppunit-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 28/07/2003 21:40
> Please respond to Noel.Yap
> 
> 
>         To:     Bob Johnson <[email protected]>
>         cc:     [email protected], [email protected]
>         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
> [email protected]
> 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
> [email protected]
> 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.


-------------------------------------------------------
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