-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.4, 6.10.0 Beta4
-
Windows 10 22H2, MSVC 2022 x64
Code
import QtQuick import QtTest Item { TestCase { name: "MyMandatoryTest" when: true optional: false function test_mandatory() { compare(1 + 1, 2, "sanity check"); verify(true); } } TestCase { name: "MyOptionalTest" when: false optional: true function test_optional() { compare(1 + 1, 2, "sanity check"); verify(true); } } }
Steps to reproduce
- Run the attached project
- Comment out the TestCase "MyMandatoryTest" and re-run the project.
Outcomes
- Step #1: MyMandatoryTest is initialized + run + cleaned up while MyOptionalTest has no activity at all (Expected)
- Step #2: MyOptionalTest has no activity at all (Expected), but the empty window stays open indefinitely and closing the window leaves a zombie process (Not Expected)