Skip to content
lingjf edited this page Aug 1, 2013 · 7 revisions

Introduce

H2UNIT is a unit test framework for C/C++. It should only involve two source files: h2unit.h and h2unit.cpp. So it is a light-weight framework. "H2" in name means hydrogen.

Features

Simple Test Case

Test Case and Test Suite

Checkpoint and Compare

Dynamic STUB

Memory Leak Detection

Memory overflow/underflow

Expect C++ exception

Examples

Clone this wiki locally