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

Cannot run unit tests in QtCreator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 4.15.2, Qt Creator 5.0.0-rc1
    • Test Integration
    • None
    • macOS

    Description

      How to reproduce the problem:

      • Start QtCreator 4.15.2.
      • "File | New File or Project | Other Project | Auto Test Project". The project is attached.
        • Test framework: Qt Test
        • Test case name: First
        • Build system: CMake
        • Kit: Qt 6.2.0 for macOS
      • "Build | Build Project 'First'". Build works fine.
      • "Build | Run". Running the project prints the test output in the "Application Output" pane.
      • Problem: Switch to "Test Results" pane. All the buttons to run tests are disabled. The same is true for the run-test actions in the menu "Tools | Tests". "Tool | Tests | Rescan" shows a full green progress bar, but nothing changes.

      Attachments

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

        Activity

          People

            cstenger Christian Stenger
            bvstubert Burkhard Stubert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes