Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.10.2
Description
(following issue QTCREATORBUG-23312)
Hi,
A typical cmake project contains all sort of tests, incl. non pure c++ tests such as python scripts, unittest, etc.
It is totally fine to add them as ctest (add_test in cmake) but unfortunately they does not appear in QtCreator.
Right now, you don't even know they exist from inside QtCreator.
QtCreator is only displaying googletest/qttest/quicktest/boosttest.
Would it be possible to see/filter/run any ctest?
Even if their results cannot be parsed in the "Test Results" console. Maybe it would be possible to also do so based on cmake macros such as CTEST_CUSTOM_ERROR_MATCH / CTEST_CUSTOM_WARNING_MATCH
https://gitlab.kitware.com/cmake/community/wikis/doc/ctest/Testing-With-CTest#customizing-ctest
Thanks!
Attachments
Issue Links
- relates to
-
QTCREATORBUG-24268 tests ignores selected run configuration
- Closed
- resulted from
-
QTCREATORBUG-23312 ctest - filter and run any test
- Closed
For Gerrit Dashboard: QTCREATORBUG-23332 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
316405,12 | PE: Prepare build system for providing test information | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
316406,13 | CMakePM: Start integrating ctest | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
318048,9 | AutoTest: Introduce ITestTool | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
318049,10 | AutoTest: Introduce TestToolConfiguration | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
318050,11 | AutoTest: Allow registering ITestTools | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
318051,14 | AutoTest: Provide basic ctest integration | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |