check

Unit testing framework for C with minimal dependencies

brewmacoslinux
Try with needOr install directly
Source

About

C unit testing framework

Commands

check

Examples

Run a basic test suite compiled with Check framework$ check_run_tests
Compile a C program with Check library linked$ gcc -o test_program test_program.c -lcheck -lm -lpthread
Display Check framework version$ pkg-config --modversion check