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) { %>
|
2013-01-08 23:02:26 +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>
|