Fix for the classname not appearing in the generated XML file...

This commit is contained in:
Kelvin Luck 2013-01-08 15:02:26 +00:00
parent d224f2c687
commit 679bb383aa

View File

@ -3,7 +3,7 @@
<% testsuites.forEach(function(testsuite) { %> <% testsuites.forEach(function(testsuite) { %>
<testsuite name="<%- testsuite.name %>" errors="<%= testsuite.errors %>" tests="<%= testsuite.tests %>" failures="<%= testsuite.failures %>" time="<%= testsuite.time %>" timestamp="<%= testsuite.timestamp %>"> <testsuite name="<%- testsuite.name %>" errors="<%= testsuite.errors %>" tests="<%= testsuite.tests %>" failures="<%= testsuite.failures %>" time="<%= testsuite.time %>" timestamp="<%= testsuite.timestamp %>">
<% testsuite.testcases.forEach(function(testcase) { %> <% testsuite.testcases.forEach(function(testcase) { %>
<testcase assertions="<%= testcase.assertions %>" classname="<%- testcase.classname %>" name="<%- testcase.name %>" time="<%= testcase.time %>"> <testcase assertions="<%= testcase.assertions %>" classname="<%- testcase.className %>" name="<%- testcase.name %>" time="<%= testcase.time %>">
<% testcase.failureMessages.forEach(function(message) { %> <% testcase.failureMessages.forEach(function(message) { %>
<failure><%= message %></failure> <failure><%= message %></failure>
<% }) %> <% }) %>