cppunit test framework

From The Document Foundation Wiki
Jump to: navigation, search
Devel. status Stable
License LGPL 2.1
Maintainers Moggi
who else?
Repository git://gerrit.libreoffice.org/cppunit
Sources http://dev-www.libreoffice.org/src/cppunit/

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 through FreeDesktop's cgit.

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

Release Versions

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:

  • using IRC server irc.freenode.net and joining channel #libreoffice-dev connect via webchat
  • using developer mailing list libreoffice@lists.freedesktop.org
  • filling bug report in our Bugzilla against the cppunit project

See also

See the homepage on Freedesktop.org