You might consider one of the following unit test frameworks:
Boost.Test | http://www.boost.org/doc/libs/1_53_0/libs/test/doc/html/index.html |
CppUnit | http://cppunit.sourceforge.net/doc/1.11.6/cppunit_cookbook.html |
CppUnitLite | |
CUTE | |
CxxTest | |
Unit++ |
18.118.128.105