CppUnit
![]() | This article's use of external links may not follow Wikipedia's policies or guidelines. (July 2012) |
Stable release | 1.15.1 (LibreOffice version)[1] (13 April 2017 ) [±] |
---|---|
Repository | |
Written in | C++ |
Type | Unit testing tool |
License | GNU Lesser General Public License |
Website | cppunit |
CppUnit is a unit testing framework module for the C++ programming language, described as a C++ port of JUnit. The library is released under the GNU Lesser General Public License. The library can be compiled for a variety of POSIX platforms, allowing unit-testing of 'C' sources as well as C++ with minimal source modification. The framework has a neutral UI, running 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 [citation needed].
Currently work on a version 2.0 was started and an independent group created a fork from the original version.
See also
External links
- New fork of the first version CppUnit Project's site.
- Llopis, Noel (2004-12-28). "Exploring the C++ Unit Testing Framework Jungle".
- Unit-tests with C++ using the framework CppUnit
- MiniCppUnit: Another C++ port with a minimalistic approach.
- Unit++: A Unit-Testing framework designed to be an alternative to CppUnit, because of its focus in being more adapted to C++ language, instead of being a port of JUnit to C++.
Books
Game Programming Gems 6 (ISBN 1-58450-450-1) contains an article called "Using CPPUnit to implement unit testing" by Blake Madden