CppUnit

From Wikipedia, the free encyclopedia
Jump to: navigation, search
CppUnit
Stable release 1.13.1 (7 July 2012; 10 months ago (2012-07-07)) [±]
Written in C++
Type Unit testing tool
License GNU Lesser General Public License
Website cppunit.sourceforge.net

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[1] · .[2]

This project has been forked several times [3] · .[4]

See also [edit]

Books [edit]

Game Programming Gems 6 (ISBN 1-58450-450-1) contains an article called "Using CPPUnit to implement unit testing" by Blake Madden

References [edit]

  1. ^ Jenkins plug-in for CppUnit and other Unit Test tools
  2. ^ Sonar plug-in for CppUnit and other Unit Test tools
  3. ^ fork presented as CppUnit v1.13
  4. ^ fork presented as CppUnit v2