Stable release1.15.1 (LibreOffice version) (13 April 2017; 6 years ago (2017-04-13)) [±]
Written inC++
TypeUnit testing tool

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 at GitHub, maintained by Markus Mohrhard of the LibreOffice project (which uses CppUnit heavily), was actively maintained until 2020, and is used in Linux distributions such as Debian, Ubuntu, Gentoo and Arch.

See also

Further reading

  • Madden, Blake (6 April 2006). "1.7: Using CPPUnit to implement unit testing". In Dickheiser, Mike (ed.). Game Programming Gems 6. Charles River Media. ISBN 1-58450-450-1.

This page was last updated at 2024-04-17 19:13 UTC. Update now. View original page.

All our content comes from Wikipedia and under the Creative Commons Attribution-ShareAlike License.


If mathematical, chemical, physical and other formulas are not displayed correctly on this page, please useFirefox or Safari