QuickTest is a simple C++ unit testing framework. It is totally contained within a single header file, so it’s easy to add to your projects. It’s goal is to let you write each test with a minimal amount of code.
QT_CHECK_EQUAL(4 * 4, 16);
> Consists of a single header file
> Small, simple API
> Supports UNIX and Windows
How to Use It – instructions and examples
API Reference – description of all macros
Download – SourceForge download page