<% def stats = utils.aggregateStats(data) def config = com.aoe.gebspockreports.GebReportConfigLoader.instance.config def gebUtils = new com.aoe.gebspockreports.GebReportUtils() %> <% if (config.customCssFile != null) { %> <% } %>

Specification run results


<% out << "Created on ${new Date()} by ${System.properties['user.name']}" out << (projectName ? ', Project: ' + projectName : '') out << (projectVersion ? (', Version: ' + projectVersion) : '') %>

Summary

Total Passed Failed Feature failures Feature errors Success rate Total time
${stats.total} ${stats.passed} ${stats.failed} ${stats.fFails} ${stats.fErrors} ${fmt.toPercentage(stats.successRate)} ${fmt.toTimeDuration(stats.time)}

Specifications

<% data.each { name, map -> def s = map.stats def finalStatus = s.failures || s.errors ? 'FAILED' : (s.skipped && !map.executedFeatures) ? 'SKIPPED' : 'PASSED' def cssClass = (s.errors ? 'error' : '') + ' ' + (s.failures ? 'failure' : '') def skippedCssClass = (s.skipped && !map.executedFeatures ? 'skipped' : '') def passedCssClass = finalStatus == 'PASSED' ? 'passed' : '' %> <% } %>
Name Features Failed Errors Skipped Success rate Time Status
$name ${s.totalRuns} ${s.failures} ${s.errors} ${s.skipped} ${fmt.toPercentage(s.successRate)} ${gebUtils.formatMillis(s.time)} ${finalStatus}