Hi Robin
I have this configuration that utilizes "cpputest" module to do unit test on .cpp files, and generate .xml reports.
It seems the generated .xml files don't quite fit QB's requirements. Here is a few lines in one of the .xml files
<testsuite errors="0" failures="0" hostname="localhost" name="xxxTestGroup" tests="69" time="0.002" timestamp="2017-12-05T11:07:47">
<properties></properties>
<testcase classname="xxxTestGroup" name="TestGetVersionInfo" assertions="6" time="0.000" file="src/xxx/test/xxx_test.cpp" line="1594"></testcase>
I understand how to format junit report for QB, and this one seems OK with the suite name, case classname, etc.
But what's happening is:
I have several components being tested, one of them is "xxx" as an example here. And during the build, if I go to the current build overview, the left side panel will have Junit report, and inside there will be a few suite (xxxTestGroup) showing one by one as the build runs. But every suite just disappears after the build finishes. Sometimes there will be just one left.
"Example" group is one of the components; it only has some dummy functions (it's not the only component/suite that passes).
QB can find those .xml files just fine (I used "publish artifact" to test it).
I can't figure out what went wrong here Robin, your help will be much appreciated.
Thank you