# 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|http://cppunit.sourceforge.net/]]. [[!toc ]] # Developers ## Getting the sources cppunit sources are stored in [[git|http://git-scm.com/]]. To get them, you can use: git clone git://anongit.freedesktop.org/git/libreoffice/cppunit/ or you can browse the code [[online|http://cgit.freedesktop.org/libreoffice/cppunit/]]. If you want to use a release version you can fetch it from [[libreoffice mirror|http://dev-www.libreoffice.org/src/]]. ### Release Versions [[Cppunit 1.15.1|http://dev-www.libreoffice.org/src/cppunit-1.15.1.tar.gz]] * MD5: 9dc669e6145cadd9674873e24943e6dd * SHA256SUM: 89c5c6665337f56fd2db36bc3805a5619709d51fb136e51937072f63fcc717a7 [[Cppunit 1.15.0|http://dev-www.libreoffice.org/src/cppunit-1.15.0.tar.gz]] * MD5: ac96252c8782b42f870e2d85a3105528 * SHA256SUM: 1c61dfdb430e04ebb411e4b80fbd49fe7e63a1be0209a76d7c07501f02834922 [[Cppunit 1.14.0|http://dev-www.libreoffice.org/src/cppunit-1.14.0.tar.gz]] * MD5: 7ad93022171710a541bfe4bfd8b4a381 * SHA256SUM: 3d569869d27b48860210c758c4f313082103a5e58219a7669b52bfd29d674780 [[Cppunit 1.13.2|http://dev-www.libreoffice.org/src/cppunit-1.13.2.tar.gz]] * MD5: d1c6bdd5a76c66d2c38331e2d287bc01 [[Cppunit 1.13.1|http://dev-www.libreoffice.org/src/cppunit-1.13.1.tar.gz]] * MD5: fa9aa839145cdf860bf596532bb8af97 [[Cppunit 1.13.0|http://dev-www.libreoffice.org/src/cppunit-1.13.0.tar.gz]] * MD5: f868f74647d29dbd793a16a0e5b48b88 ## Building it ### Dependencies Once the source has been checked out, cppunit can be built in usual manner: cd cppunit ./autogen.sh ./configure make make check # optional make install ## Contributing 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 # Contact You can get in touch with us using multiple ways: 1. using IRC server **irc.freenode.net** and joining channel **#libreoffice-dev** 1. using mailing list **[[libreoffice@lists.freedesktop.org|mailto:libreoffice@lists.freedesktop.org]]** 1. filling bugreport in [[LibreOffice bugzilla|http://bugs.documentfoundation.org/]] against the cppunit project