Description
CppUnit is the C++ port of the famous JUnit framework for unit testing.
Test output is in XML or text format for automatic testing and GUI based for supervised tests.
User Ratings
User Reviews
-
I've just started using CppUnit. And on my first test i was confused. I wanted to check exception message and used CPPUNIT_ASSERT_THROW_MESSAGE. But it just checks type of thrown exception but not message. Is it a bug, or am I doing something wrong?
-
CppUnit is the unit test framework used by LibreOffice and now maintained at FreeDesktop, (http:/) /www.freedesktop.org/wiki/Software/cppunit/ See also (http:/) /lists.freedesktop.org/archives/libreoffice/2013-October/056919.html That FreeDesktop version (1.13.0 and newer) is also packed by several Linux distributions, Debian, Ubuntu, Arch.
-
@ml8: I tend to agree that cppunit seems to be rather outdated (and doesn't appear to be maintained, either), so, please, what (VisualStudio-friendly) alternative(s) do you recommend, i.e., find more "current"? Thanks!
-
In the last few days, I successfully integrated the 1.12.1 into NetBeans 7.4 on Mac OS X Mavericks. Keep in mind that the Apple Developer download for command line tools has to be obtained prior to building the cppunit libraries. The clang++ compiler has been used to do this. A few minutes spent reviewing the INSTALL text file helped guide how to set the CC and CXX environment variables appropriately. I have written a reply to a discussion board post that details the process more.
-
Not really up to date with features needed for modern C++ development.