[clug] Experiences with C++ unit testing frameworks?

Matt Joiner anacrolix at gmail.com
Wed Sep 29 17:48:53 MDT 2010


I've used gtest quite heavily, thoroughly recommend it. It's also been
in Ubuntu since Karmic.

If your tests get quite template intensive/magical, Boost has a unit
testing framework that I've seen used in combination with its MPL
http://www.boost.org/doc/libs/

On Tue, Sep 21, 2010 at 10:50 AM, Ben Davies <ben.davies at anu.edu.au> wrote:
> Hi CLUGers,
>
> I have some inherited C++ code which I need to make some changes to, so I'm
> looking into finding a 'nice' C++ unit testing framework.
>
> Since there is a small zoo out there of C++ UT frameworks, has anyone had
> much experience with any of them?
>
> From some initial poking around, some contenders appear to be:
> 1) CppUnit - possibly a bit clunky
> 2) CxxTest
> 3) Google C++ Testing Framework
>
> cheers,
>
>
> Ben
> --
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
>


More information about the linux mailing list