cppunit

Unit testing framework for C++ with xUnit architecture

brewmacoslinux
Try with needOr install directly
Source

About

Unit testing framework for C++

Commands

cppunit-config

Examples

Get CppUnit compiler flags and library paths$ cppunit-config --cflags --libs
Check installed CppUnit version$ cppunit-config --version
Compile a test program with CppUnit$ g++ -o test_program test.cpp $(cppunit-config --cflags --libs)