CppUnit - The Unit Testing Library

CppUnit project page | FAQ

CppUnit

# History

The first port of JUnit to C++ was done by Michael Feathers. His versions can be found on the XProgramming software page. They are os-specific, so Jerome Lacoste provided a port to Unix/Solaris. His version can be found on the same page. The CppUnit project has combined and built on this work.

# Usage

Take a look into the CppUnit Cookbook. It gives a quick start into using this testing framework. Modules give you a organized view of CppUnit classes.

(Notes to newbies, you may want to check out Money, a step by step example, a work in progress, but the project is provided with CppUnit).

For a discussion on CppUnit, check the WikiWiki Pages on CppUnit. There you can also find the original versions and various ports to other OSses and languages.

# Build

If you want to build just this documentation, you will need to install doxygen and graphviz, then run:

git clone git://anongit.freedesktop.org/git/libreoffice/cppunit/
cd cppunit
./autogen.sh
./configure
cd doc
make

# License

This library is released under the GNU Lesser General Public License.

Author
  Eric Sommerlade (somme.nosp@m.rlad.nosp@m.e@gmx.nosp@m..net)
  Michael Feathers (mfeat.nosp@m.hers.nosp@m.@obje.nosp@m.ctme.nosp@m.ntor..nosp@m.com)
  Jerome Lacoste (lacos.nosp@m.tej@.nosp@m.alter.nosp@m.n.or.nosp@m.g)
  Baptiste Lepilleur blep@.nosp@m.user.nosp@m.s.sou.nosp@m.rcef.nosp@m.orge..nosp@m.net
  Bastiaan Bakker basti.nosp@m.aan..nosp@m.bakke.nosp@m.r@li.nosp@m.felin.nosp@m.e.nl
  Steve Robbins smr99.nosp@m.@sou.nosp@m.rcefo.nosp@m.rge..nosp@m.net

| Send comments to: CppUnit Developers