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

Clicking 'Rescan Tests' causes the tests to disappear in Tests pane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • Qt Creator 4.7.0-beta1
    • Qt Creator 4.5.1
    • Test Integration
    • None
    • Windows 10 x64, Qt 5.9.4 MSVC2015 32bit
    • 39dd8ebc6ec4e5d7d26524653df06154c4ca1f2f

      The tests that was open in Text Editor and then closed disappear from Test pane after clicking 'Rescan Tests'.

      To reproduce this bug:

      1. Download and unzip QtTest_rescan_tests_bug.zip
      2. Open project utility.pro in QtCreator
      3. In Tests pane there should be visible 3 Qt Tests: Test1Test, Test2Test and Test3Test
      4. Open tst_test1test.cpp, tst_test2test.cpp, tst_test3test.cpp files in Text Editor
      5. Close tst_test1test.cpp file - there should be 2 open files in Open Documents pane
      6. Now in Tests pane right click and select 'Rescan Tests' - this causes the Test1Test to disapear from Tests pane
      7. Now reopen tst_test1test.cpp file - this will refresh the Test pane and Test1test will be visible again
      8. Now close all files and click 'Rescan tests' - this causes all test to disapear.

        1. QtTest_rescan_tests_bug.zip
          5 kB
          Robert Szefner
        2. 1.png
          79 kB
          Robert Szefner
        3. 2.png
          77 kB
          Robert Szefner
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cstenger Christian Stenger
            amiart Robert Szefner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes