cppunit test framework

CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML for automatic testing and GUI based for supervised tests.

This is a continuation of the original cppunit project.


Getting the sources

cppunit sources are stored in git. To get them, you can use:

git clone git://anongit.freedesktop.org/git/libreoffice/cppunit/

or you can browse the code online.

If you want to use a release version you can fetch it from libreoffice mirror.

Release Versions

Cppunit 1.15.1

  • MD5: 9dc669e6145cadd9674873e24943e6dd
  • SHA256SUM: 89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7

Cppunit 1.15.0

  • MD5: ac96252c8782b42f870e2d85a3105528
  • SHA256SUM: 1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922

Cppunit 1.14.0

  • MD5: 7ad93022171710a541bfe4bfd8b4a381
  • SHA256SUM: 3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780

Cppunit 1.13.2

  • MD5: d1c6bdd5a76c66d2c38331e2d287bc01

Cppunit 1.13.1

  • MD5: fa9aa839145cdf860bf596532bb8af97

Cppunit 1.13.0

  • MD5: f868f74647d29dbd793a16a0e5b48b88

Building it


Once the source has been checked out, cppunit can be built in usual manner:

cd cppunit
make check # optional
make install


Once you have done a change that you are happy with, and that builds with cppunit, contribute it back, we'll be happy to integrate it! Do:

# commit your changes to your local repository
git commit -a
# create the patch
git format-patch origin/master


You can get in touch with us using multiple ways:

  1. using IRC server irc.freenode.net and joining channel #libreoffice-dev
  2. using mailing list libreoffice@lists.freedesktop.org
  3. filling bugreport in LibreOffice bugzilla against the cppunit project