-
-
Notifications
You must be signed in to change notification settings - Fork 10
HOWTO define & run regression tests
lkampoli edited this page Jul 5, 2018
·
1 revision
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