Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23332

[CMakeProjectManager] full ctest support

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11

      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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              cstenger Christian Stenger
              Reporter:
              mattn mattn
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes