HOWTO define & run regression tests - lkampoli/kappa GitHub Wiki
KAPPA uses the ctest tool from cmake to enable regression testing.
In order to add a testcase to the regression test-bed, one has to edit the file CMakeLists.txt inside the testcases folder /tests
and add lines in this format:
check_test(basicTest basic)
In order to apply regression testing on all cases declared inside the corresponding CMakeLists.txt files, one must enable testsing, by going into /build
and typing:
cmake .. -DENABLE_TESTING=1
and then by executing:
make test