Stable release | 1.15.1 (LibreOffice version)[1] (13 April 2017; 7 years ago (2017-04-13)) [±] |
---|---|
Repository | |
Written in | C++ |
Type | Unit testing tool |
License | LGPL |
Website | freedesktop |
CppUnit is aunit testing framework module for theC++ programming language. It allows unit-testing ofC sources as well as C++ with minimal source modification. It was started around 2000 by Michael Feathers as a C++port ofJUnit for Windows and ported to Unix by Jerome Lacoste.[2] The library is released under theGNU 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 withcontinuous integration reporting systems.[3]
The project has beenforked several times.[4][5] Thefreedesktop.org version atGitHub, maintained by Markus Mohrhard of theLibreOffice project (which uses CppUnit heavily), was actively maintained until 2020, and is used inLinux distributions such asDebian,Ubuntu,Gentoo andArch.[6]