-
Notifications
You must be signed in to change notification settings - Fork 21
Run the unit tests
Jeremy Dumais edited this page Feb 6, 2022
·
2 revisions
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-SMTP-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