我尝试使用junitreport但 XML文件内容未得到很好的识别. @dmeister http://code.google.com/p/googletest/issues/detail?id=114 […] Google Test was designed to match our internal tools which expect the XML report to match the fo
@dmeister
http://code.google.com/p/googletest/issues/detail?id=114
[…] Google Test was designed to match our internal tools which expect the
XML report to match the format of those produced by the “junit” Ant
task, which has “testsuite” as the root element. […]
这就是gtest(1.6.0)生成的内容:
<?xml version="1.0" encoding="UTF-8"?> <testsuites tests="1" failures="0" disabled="0" errors="0" time="0" name="AllTests"> <testsuite name="SimpleTest" tests="1" failures="0" disabled="0" errors="0" time="0"> <testcase name="Test_1" status="run" time="0" classname="SimpleTest" /> </testsuite> </testsuites>
这是junitreport返回的错误消息:
我用Python 2做了它.*: https://github.com/burlachenkok/gtest_reportSimpleTest.xml is not a valid testsuite XML document
此gtest_report还支持比较2个或更多谷歌测试结果.如果说实话那是最主要的目标.