criterion

C/C++ unit testing framework with flexible assertion syntax

brewmacoslinux
Try with needOr install directly
Source

About

Cross-platform C and C++ unit testing framework for the 21st century

Commands

criterion

Examples

Create a simple test file and compile with criterion$ gcc -o test test.c $(pkg-config --cflags --libs criterion)
Run compiled tests with verbose output$ ./test --verbose
Run tests with TAP output format$ ./test --output=tap