QuickTest

Tyler Streeter

 

 

 

Summary

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.

 

Code Sample

QT_TEST(testSquaredInts)

{

    QT_CHECK_EQUAL(4 * 4, 16);

}

 

Features

> Consists of a single header file

> Small, simple API

> Supports UNIX and Windows

 

Links

How to Use It – instructions and examples

API Reference – description of all macros

Download – SourceForge download page

 

Also try QuickProf (performance profiling) and QuickMP (loop parallelization).

 

 

 

SourceForge.net Logo