Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.7.2
-
None
-
MacOS 12
Description
Was suggested I log this after posting on QT forum.
After upgrading to QT6.7.2 with no other changes, it appears that QT Test test results never correctly close braces when writing out test results in XML format.
E.g. After simple app startup UI test:
<TestCase name="UITest"> <Environment> <QtVersion>6.7.2</QtVersion> <QtBuild>Qt 6.7.2</QtBuild> <QTestVersion>6.7.2</QTestVersion> </Environment> <TestFunction name="Null test::initTestCase"> <Incident type="pass" file="" line="0" /> <Duration msecs="28.9662"/> </TestFunction> <TestFunction name="Null test::test_WaitForStart"> <Message type="qinfo" file="" line="0"> <Description><![CDATA[qml: Waited for app to start]]></Description> </Message> <Incident type="pass" file="" line="0" /> <Duration msecs="1265.11"/> </TestFunction> <TestFunction name="Null test::cleanupTestCase"> <Duration msecs="4071.77"/> </TestCase>
Please note there is OMITTED "</TestFunction>" at the end of cleanupTestCase
Due to this, Jenkins/other XML interpreters can never parse the testresults file.