Test Anything Protocol (TAP) with autotools and cmocka
Autotoole can handle test suits of several types. Usually, I store my tests in "test" directory in the root of the project and set up each test in "Makefile.am" file. Each test to run is a separate executable file listed in "TEST" variable in makefile. For example: TESTS = foo_test bar_test xyz_test