cppunit test framework

    From The Document Foundation Wiki


    cppunit
    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.

    Documentation

    An up-to-date documentation is available at https://people.freedesktop.org/~mmohrhard/cppunit/index.html

    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
    ./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:

    • using IRC server irc.libera.chat and joining channel #libreoffice-dev IRC://
    • 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