2013-01-08 07:04:44 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<testsuites>
|
|
|
|
<% testsuites.forEach(function(testsuite) { %>
|
|
|
|
<testsuite name="<%- testsuite.name %>" errors="<%= testsuite.errors %>" tests="<%= testsuite.tests %>" failures="<%= testsuite.failures %>" time="<%= testsuite.time %>" timestamp="<%= testsuite.timestamp %>">
|
|
|
|
<% testsuite.testcases.forEach(function(testcase) { %>
|
2014-01-29 09:12:51 +08:00
|
|
|
<testcase assertions="<%= testcase.assertions %>" classname="<%- testcase.classname %>" name="<%- testcase.name %>" time="<%= testcase.time %>">
|
2013-01-08 18:38:29 +08:00
|
|
|
<% testcase.failureMessages.forEach(function(message) { %>
|
|
|
|
<failure><%= message %></failure>
|
|
|
|
<% }) %>
|
2013-01-08 07:04:44 +08:00
|
|
|
</testcase>
|
|
|
|
<% }) %>
|
|
|
|
</testsuite>
|
|
|
|
<% }) %>
|
|
|
|
</testsuites>
|