-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
David K edited this page Jan 5, 2024
·
2 revisions
Testing is done with the catch2 library.
You can see some simple examples in ./tests/factorial_test.cpp
or find the
official tutorial
here.
All .cpp
files in ./tests
will be added to the test executable.
The executable can be invoked directly:
./build/bin/EXE_NAME_test
or using the ctest
runner:
ctest --test-dir build/tests