Jump to content

CppUnit: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
Add an in-wiki link to Fork (software development)
Line 16: Line 16:
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.<ref>[[Jenkins (software)|Jenkins]] [https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin plug-in] for CppUnit and other Unit Test tools</ref>
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.<ref>[[Jenkins (software)|Jenkins]] [https://wiki.jenkins-ci.org/display/JENKINS/xUnit+Plugin plug-in] for CppUnit and other Unit Test tools</ref>


The project has been forked several times.<ref>[http://www.freedesktop.org/wiki/Software/cppunit freedesktop.org fork] presented as CppUnit v1.13</ref><ref>[http://sourceforge.net/apps/trac/cppunit2/wiki/WikiStart fork] presented as CppUnit2; not modified since 2009</ref> The [[freedesktop.org]] version, maintained by Markus Mohrhard of the [[LibreOffice]] project (which uses CppUnit heavily), is actively maintained, and is used in [[Linux distribution]]s such as [[Debian]], [[Ubuntu Linux|Ubuntu]], [[Gentoo Linux|Gentoo]] and [[Arch Linux|Arch]].<ref>{{cite web|url=http://lists.freedesktop.org/archives/libreoffice/2013-October/056919.html|title=cppunit framework|first=Markus|last=Mohrhard|work=LibreOffice mailing list|date=22 October 2013|accessdate=20 March 2014}}</ref>
The project has been [[Fork (software development)|fork]]ed several times.<ref>[http://www.freedesktop.org/wiki/Software/cppunit freedesktop.org fork] presented as CppUnit v1.13</ref><ref>[http://sourceforge.net/apps/trac/cppunit2/wiki/WikiStart fork] presented as CppUnit2; not modified since 2009</ref> The [[freedesktop.org]] version, maintained by Markus Mohrhard of the [[LibreOffice]] project (which uses CppUnit heavily), is actively maintained, and is used in [[Linux distribution]]s such as [[Debian]], [[Ubuntu Linux|Ubuntu]], [[Gentoo Linux|Gentoo]] and [[Arch Linux|Arch]].<ref>{{cite web|url=http://lists.freedesktop.org/archives/libreoffice/2013-October/056919.html|title=cppunit framework|first=Markus|last=Mohrhard|work=LibreOffice mailing list|date=22 October 2013|accessdate=20 March 2014}}</ref>


__NOTOC__
__NOTOC__

Revision as of 00:13, 7 October 2017

CppUnit
Stable release1.15.1 (LibreOffice version)[1] (13 April 2017; 7 years ago (2017-04-13)) [±]
Repository
Written inC++
TypeUnit testing tool
LicenseLGPL
Websitefreedesktop.org/wiki/Software/cppunit (LibreOffice 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.[2] 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.[3]

The project has been forked several times.[4][5] 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.[6]


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.

References

  1. ^ "Commit description".
  2. ^ Mohrhard, Markus. "CppUnit Documentation". freedesktop.org.
  3. ^ Jenkins plug-in for CppUnit and other Unit Test tools
  4. ^ freedesktop.org fork presented as CppUnit v1.13
  5. ^ fork presented as CppUnit2; not modified since 2009
  6. ^ Mohrhard, Markus (22 October 2013). "cppunit framework". LibreOffice mailing list. Retrieved 20 March 2014.