-
Notifications
You must be signed in to change notification settings - Fork 11
Run the unit tests
Jeremy Dumais edited this page May 31, 2025
·
1 revision
First to configure CMake to build the unit tests you must pass the option -DBUILD_TESTING=on.
Ex: cmake -DBUILD_TESTING=on ..
To ensure that all the tests pass on the CPP-DateTime-Library, you need to build the projet first and call the following command from the build folder :
ctest --progress
If you want to view the complete unit tests run just call ctest from the build folder:
ctest