mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-01 06:30:52 +02:00
update note on testing frameworks
This commit is contained in:
parent
f5a524fe43
commit
aa49feeb16
1 changed files with 4 additions and 4 deletions
|
@ -55,13 +55,13 @@ endif()
|
||||||
|
|
||||||
ENABLE_TESTING()
|
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)
|
include(${doctest_SOURCE_DIR}/scripts/cmake/doctest.cmake)
|
||||||
doctest_discover_tests(GreeterTests)
|
doctest_discover_tests(GreeterTests)
|
||||||
|
|
||||||
# Note: for general testing frameworks use:
|
|
||||||
# ADD_TEST(GreeterTests GreeterTests)
|
|
||||||
|
|
||||||
# ---- code coverage ----
|
# ---- code coverage ----
|
||||||
|
|
||||||
if (ENABLE_TEST_COVERAGE)
|
if (ENABLE_TEST_COVERAGE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue