UnitTest++ is a lightweight unit testing framework for C++.

It was designed to do test-driven development on a wide variety of platforms. Simplicity, portability, speed, and small footprint are all very important aspects of UnitTest++.

UnitTest++ is free software. You may copy, distribute, and modify it under the terms of the license contained in the file COPYING distributed with this package. This license is the same as the MIT/X Consortium license.

UnitTest++ is ANSI portable C++ and makes minimal use of advanced library and languages features, which means it should be easily portable to just about any platform. Out of the box, the following platforms are supported:

We recommend you work directly from the head of the repository since it's updated much more frequently than the official releases and it has always been very stable (all the tests are passing, right?).

Sync to the head of UnitTest++ using the Subversion command-line client with this:

See this section for more information about getting the source code.


Download latest release
UnitTest++ mailing list. Right now all UnitTest++ related traffic is welcome here: questions, requests, comments, suggestions, etc.

UnitTest++ is written and maintained by Noel Llopis and Charles Nicholson

SourceForge.net Logo play Infectonator game