<% for (var item in module.completed) { var testcase = module.completed[item]; var assertions = testcase.assertions %> <% for (var i = 0; i < assertions.length; i++) { %><% if (assertions[i].failure) { %> <%= assertions[i].stackTrace %><% } %> <% if (assertions[i].screenshots && assertions[i].screenshots.length > 0) { %><% for (var j = 0; j < assertions[i].screenshots.length; j++) { %>[[ATTACHMENT|<%= assertions[i].screenshots[j] %>]]<% } %><% } %> <% } if (testcase.failed > 0 && testcase.stackTrace) { %><%= testcase.stackTrace %><% } %> <% if (systemerr != '') {%> <%= systemerr %> <% } %> <% } %> <% if (module.skipped && (module.skipped.length > 0)) { %> <% for (var j = 0; j < module.skipped.length; j++) { %> <% } %> <% } %>