Suvarna Garge (Editor)

CppUnit

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
C++

License
  
LGPL

Type
  
Unit testing tool

CppUnit

Stable release
  
1.13.2 (LibreOffice version) (12 November 2013; 3 years ago (2013-11-12)) [±]

Website
  
freedesktop.org/wiki/Software/cppunit (LibreOffice-maintained version)

CppUnit is a unit testing framework module for the C++ programming language. It allows unit-testing of C sources as well as C++ with minimal source modification. It was started around 2000 by Michael Feathers as a C++ port of JUnit for Windows and ported to Unix by Jerome Lacoste. The library is released under the GNU Lesser General Public License.

The framework runs tests in suites. Test result output is sent to a filter, the most basic being a simple pass or fail count printed out, or more advanced filters allowing XML output compatible with continuous integration reporting systems.

The project has been forked several times. The freedesktop.org version, maintained by Markus Mohrhard of the LibreOffice project (which uses CppUnit heavily), is actively maintained, and is used in Linux distributions such as Debian, Ubuntu, Gentoo and Arch.

References

CppUnit Wikipedia