1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00

update note on testing frameworks

This commit is contained in:
Lars Melchior 2020-04-15 09:04:02 +02:00
parent f5a524fe43
commit aa49feeb16

View file

@ -55,13 +55,13 @@ endif()
ENABLE_TESTING()
# use doctest_discover_tests for better CTest support
# Note: doctest and similar testing frameworks can automatically configure CMake tests
# For other testing frameworks add the tests target instead:
# ADD_TEST(GreeterTests GreeterTests)
include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake)
doctest_discover_tests(GreeterTests)
# Note: for general testing frameworks use:
# ADD_TEST(GreeterTests GreeterTests)
# ---- code coverage ----
if (ENABLE_TEST_COVERAGE)