Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.4.0, 6.4.2
-
None
-
-
5
-
Foundation PM Staging
Description
In Qt 5.15, we get <testcase> elements with a result attribute but no time or classname, but in Qt 6.4, running the same tests, we get time and classname attributes but no result!
I think this a bug/regression in Qt6's QTestLib's report generators "xunitxml" and also "junitxml".
<?xml version="1.0" encoding="UTF-8" ?> <testsuite errors="0" failures="0" tests="3" name="CocoTests"> <properties> <property value="5.15.10" name="QTestVersion"/> <property value="5.15.10" name="QtVersion"/> <property value="Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6))" name="QtBuild"/> </properties> <testcase result="pass" name="initTestCase"/> <testcase result="pass" name="IF2_QML"/> <testcase result="pass" name="cleanupTestCase"/> <system-err/> </testsuite> <?xml version="1.0" encoding="UTF-8" ?> <testsuite name="CocoTests" timestamp="2022-11-17T05:41:13" hostname="cerberus" tests="3" failures="0" errors="0" skipped="0" time="4.262"> <properties> <property name="QTestVersion" value="6.4.0"/> <property name="QtVersion" value="6.4.0"/> <property name="QtBuild" value="Qt 6.4.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.1 20210422 (Red Hat 10.3.1-1))"/> </properties> <testcase name="initTestCase" classname="CocoTests" time="0.000"/> <testcase name="IF2_QML" classname="CocoTests" time="4.261"/> <testcase name="cleanupTestCase" classname="CocoTests" time="0.000"/> </testsuite>