Merge pull request #134 from Wildhoney/add_cdata_to_junit
Wrapped Failure Message in CDATA
This commit is contained in:
commit
5d036af878
@ -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>
|
||||
<% }) %>
|
||||
|
Loading…
Reference in New Issue
Block a user