From aa49feeb16662225d582b8f0cc951781456a68a7 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Wed, 15 Apr 2020 09:04:02 +0200 Subject: [PATCH] update note on testing frameworks --- test/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e1149ed..74109f6 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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)