-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: PC, OS: Windows XP
Google test (aka gtest), a C++ testing framework, generates XML output files which Hudson fails to
parse correctly. The problem is that gtest generates a single XML file containing all test results for each
class, rather than one XML file per class, like so:
<testsuite tests="453" failures="0" disabled="0" errors="0" time="36.09" name="AllTests">
<testsuite name="ExampleClassname" tests="7" failures="0" disabled="0" errors="0" time="9.28">
<testcase name="exampleTestName" status="run" time="0" classname="ExampleClassname" />
</testsuite>
</testsuite>
Hudson complains that no results could be read from the resulting XML file. I wrote a perl script to
break the testsuites up into individual files, and then pointed hudson to the directory containing those
files, and it was able to parse them correctly.
- is related to
-
JENKINS-20420 Adds support for Google Test framework
- Closed