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

[CMakeProjectManager] full ctest support

XMLWordPrintable

    • Linux/X11

      (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!

        For Gerrit Dashboard: QTCREATORBUG-23332
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes