CppUnit - C++ port of JUnit (original) (raw)
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.
License
GNU Library or Lesser General Public License version 2.0 (LGPLv2)
User Ratings
4.4 out of 5 stars
★★★★★
★★★★
★★★
★★
★
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
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.
2 users found this review helpful.@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!
1 user found this review helpful.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. Read more reviews >
Additional Project Details
Operating Systems
Languages
English
Intended Audience
Developers, Quality Engineers
User Interface
X Window System (X11), Win32 (MS Windows), Qt
Programming Language
Related Categories
2000-09-22