Can pandoc markdown convert XML to HTML or LaTex table?
I am using Google Test to generate XML report . I also use pandoc to write my reports.
Can pandoc be used to convert a Google Test XML report to HTML file where XML elements are represented in good tables automatically?
Here is an example XML error report:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="8" failures="1" disabled="0" errors="0" timestamp="2015-05-29T11:40:56" time="0.018" name="AllTests">
<testsuite name="orientPoints" tests="8" failures="1" disabled="0" errors="0" time="0.018">
<testcase name="trianglePolygon" status="run" time="0" classname="orientPoints" />
<testcase name="regularOctogon" status="run" time="0" classname="orientPoints" />
<testcase name="orientRegularOctogon" status="run" time="0" classname="orientPoints" />
<testcase name="square" status="run" time="0" classname="orientPoints" />
<testcase name="rectangleDuplicateEdges" status="run" time="0" classname="orientPoints" />
<testcase name="orientationBug" status="run" time="0" classname="orientPoints" />
<testcase name="randomCirclePointsOrientedByProjection" status="run" time="0.018" classname="orientPoints" />
<testcase name="uniqueSquareWithDuplicatePoints" status="run" time="0" classname="orientPoints">
<failure message="geomTestOrient.C:425
Value of: pointChainIsOriented( squareOriented.begin(), squareOriented.end(), squareNormal )
 Actual: false
Expected: true" type=""><![CDATA[geomTestOrient.C:425
Value of: pointChainIsOriented( squareOriented.begin(), squareOriented.end(), squareNormal )
Actual: false
Expected: true]]></failure>
<failure message="geomTestOrient.C:443
Value of: squareOriented.size() == 4
 Actual: false
Expected: true
failed iteration : 0
square size : 14
oriented unique square size : 6
input front : (-5.9729471176018073e-16 1.0000000000000007 6.1131855418087139e-16)
input back : (1.0000000000000004 0.99999999999999933 5.2878054241263088e-16)
" type=""><![CDATA[geomTestOrient.C:443
Value of: squareOriented.size() == 4
Actual: false
Expected: true
failed iteration : 0
square size : 14
oriented unique square size : 6
input front : (-5.9729471176018073e-16 1.0000000000000007 6.1131855418087139e-16)
input back : (1.0000000000000004 0.99999999999999933 5.2878054241263088e-16)
]]></failure>
</testcase>
</testsuite>
</testsuites>
+3
source to share
No one has answered this question yet
Check out similar questions: