Commit 694a9490 by kpisman

Fix reporting of skipped tests in xunit output plugin

parent 9924a636
......@@ -47,6 +47,10 @@ def enable(filename=None):
tc.setAttribute("classname", classname)
tc.setAttribute("name", step.sentence)
tc.setAttribute("time", str(total_seconds((datetime.now() - step.started))))
if not step.ran:
skip=doc.createElement("skipped")
tc.appendChild(skip)
if step.failed:
cdata = doc.createCDATASection(step.why.traceback)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment