Merge pull request #134 from Wildhoney/add_cdata_to_junit

Wrapped Failure Message in CDATA
This commit is contained in:
Vlad Filippov 2014-07-07 14:42:21 -07:00
commit 5d036af878

View File

@ -5,7 +5,7 @@
<% testsuite.testcases.forEach(function(testcase) { %>
<testcase assertions="<%= testcase.assertions %>" classname="<%- testcase.classname %>" name="<%- testcase.name %>" time="<%= testcase.time %>">
<% testcase.failureMessages.forEach(function(message) { %>
<failure><%= message %></failure>
<failure><![CDATA[<%= message %>]]></failure>
<% }) %>
</testcase>
<% }) %>