Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.15.1
-
None
-
caf515929b08b9d0e432ba0819c61f532d2404bc (qt-creator/qt-creator/master)
Description
I have a CMake project where I'm using doctest for testing. It's not supported directly by Qt Creator, but I have the tests integrated with CTest with the following code:
add_executable(my_test "main.cpp") target_link_libraries(my_test PRIVATE doctest::doctest) doctest_discover_tests(my_test)
doctest_discover_tests works basically the same as the Catch2, they even link the documentation for Catch2.
I don't know how Qt Creator detects CTest tests, but these aren't being detected.
Here's a screenshot:
If you need more info, please let me know!