Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator test result using catch
QtWS25 Last Chance

Qt Creator test result using catch

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 4 Posters 895 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • TihdoT Offline
    TihdoT Offline
    Tihdo
    wrote on last edited by
    #1

    Is there any way to get test results to show up in Qt Creator from other testing frameworks then Qt Test and Google Test? We are using Catch in our project.

    raven-worxR 1 Reply Last reply
    0
    • TihdoT Tihdo

      Is there any way to get test results to show up in Qt Creator from other testing frameworks then Qt Test and Google Test? We are using Catch in our project.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @Tihdo
      Seems not.
      The docs only mention QtTest and Google as supported frameworks.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        This however doesn't mean it's not something that could be added. You could even consider creating a plugin to add support for catch.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        raven-worxR 1 Reply Last reply
        1
        • aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          And even if the test framework is not supported by the AutoTest plugin, you can still run and debug your tests as executable.

          Qt has to stay free or it will die.

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            This however doesn't mean it's not something that could be added. You could even consider creating a plugin to add support for catch.

            raven-worxR Offline
            raven-worxR Offline
            raven-worx
            Moderators
            wrote on last edited by
            #5

            @SGaist said in Qt Creator test result using catch:

            This however doesn't mean it's not something that could be added. You could even consider creating a plugin to add support for catch.

            i am not sure if the AutoTest features are really fully exposed via a plugin interface to add other test frameworks.
            If i understood it correctly it is possible to let QtCreator scan for test methods to execute (using predefined macros).
            But that means without test framework specific settings.

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved