atf

Automated testing framework for C/C++ programs

brewmacoslinux
Try with needOr install directly
Source

About

Automated testing framework

Commands

atf-catf-c++atf-shatf-compileatf-report

Examples

Write and run a basic C test case$ atf-cc -o test_program test_program.c && ./test_program
Run ATF tests from a shell script$ atf-sh test_script.sh
Generate test reports in XML format$ atf-report -o xml test_results.txt > report.xml