unittest

C++ unit testing framework for writing and running automated tests

brewmacoslinux
Try with needOr install directly
Source

About

C++ Unit Test Framework

Commands

unittest

Examples

Run all unit tests in a compiled test executable$ unittest ./my_tests
Run tests with verbose output to see detailed results$ unittest ./my_tests --verbose
Run only tests matching a specific pattern$ unittest ./my_tests --filter=TestClassName