Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | CRAP | |
0.00% |
0 / 124 |
<html> | |
<head> | |
<title>Test results</title> | |
<link href='http://fonts.googleapis.com/css?family=Varela+Round&v2' rel='stylesheet' type='text/css'> | |
<style> | |
.layout { | |
margin: 0 auto; | |
width: 960px; | |
} | |
body { font-family: arial, serif; margin: 0; padding 0; background: #333;} | |
h1,h2,h3 { arial, serif; color: white; } | |
h1 { font-size: 2.5em; } | |
h2 { font-size: 1.3em; } | |
h3 { font-size: 1em; color: #84BBDD; margin: 0.5em 0;} | |
table {border: none; margin: 0; padding 0;} | |
.scenarioStepsTable .stepName { padding: 5px } | |
.scenarioStepsTable td { | |
font-size: 80%; | |
border: 1px solid #ccc; | |
font-family: 'Varela Round', arial; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
background: rgb(255,255,255); /* Old browsers */ | |
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1))); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* IE10+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */ | |
background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%); /* W3C */ | |
} | |
p { | |
cursor: pointer; | |
padding: 5px; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
} | |
.header { font-size: large; font-weight: bold; } | |
p.scenarioSuccess { | |
background: rgb(157,213,58); /* Old browsers */ | |
background: -moz-linear-gradient(top, rgba(157,213,58,1) 0%, rgba(161,213,79,1) 50%, rgba(124,188,10,1) 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(157,213,58,1)), color-stop(50%,rgba(161,213,79,1)), color-stop(100%,rgba(124,188,10,1))); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(124,188,10,1) 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(124,188,10,1) 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(124,188,10,1) 100%); /* IE10+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); /* IE6-9 */ | |
background: linear-gradient(top, rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(124,188,10,1) 100%); /* W3C */ | |
} | |
.scenario { color: black; } | |
p.scenarioFailed { color: black; | |
background: rgb(204,0,0); /* Old browsers */ | |
background: -moz-linear-gradient(top, rgba(204,0,0,1) 0%, rgba(119,0,0,1) 100%); /* FF3.6+ */ | |
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(204,0,0,1)), color-stop(100%,rgba(119,0,0,1))); /* Chrome,Safari4+ */ | |
background: -webkit-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(119,0,0,1) 100%); /* Chrome10+,Safari5.1+ */ | |
background: -o-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(119,0,0,1) 100%); /* Opera11.10+ */ | |
background: -ms-linear-gradient(top, rgba(204,0,0,1) 0%,rgba(119,0,0,1) 100%); /* IE10+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc0000', endColorstr='#770000',GradientType=0 ); /* IE6-9 */ | |
background: linear-gradient(top, rgba(204,0,0,1) 0%,rgba(119,0,0,1) 100%); /* W3C */ | |
} | |
table.scenarioFailed tr:last-child { font-weight: bold; color: red } | |
td.scenarioSuccess { color: green } | |
td.scenarioFailed { color: red } | |
.scenarioSkipped { color: teal; } | |
.scenarioIncomplete { color: gray; } | |
.scenarioStepsTable { margin-left: 10px; display: none; color: #333; } | |
#stepContainerSummary { | |
background: white; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
padding: 20px; | |
} | |
</style> | |
<script type="text/javascript"> | |
function showHide(nodeId, linkObj) | |
{ | |
var subObj = document.getElementById('stepContainer' + nodeId); | |
if (linkObj.innerHTML.indexOf('+')>0) { | |
linkObj.innerHTML = linkObj.innerHTML.replace('+','-'); | |
subObj.style.display='block'; | |
subObj.style.width = '100%'; | |
} else { | |
linkObj.innerHTML = linkObj.innerHTML.replace('-','+'); | |
subObj.style.display='none'; | |
} | |
} | |
</script> | |
</head> | |
<body> | |
<div class="layout"> | |
{header} | |
<table border="0" style="width: 100%;"> | |
{scenarios} | |
<tr> | |
<td> | |
<h2>Summary</h2> | |
<div id="stepContainerSummary"> | |
<table border="0"> | |
<tr> | |
<td width="250" class="scenarioSuccess">Successful scenarios:</td> | |
<td class="scenarioSuccessValue"><strong>{successfulScenarios}</strong></td> | |
</tr> | |
<tr> | |
<td class="scenarioFailed">Failed scenarios:</td> | |
<td class="scenarioFailedValue"><strong>{failedScenarios}</strong></td> | |
</tr> | |
<tr> | |
<td class="scenarioSkipped">Skipped scenarios:</td> | |
<td class="scenarioSkippedValue"><strong>{skippedScenarios}</strong></td> | |
</tr> | |
<tr> | |
<td class="scenarioIncomplete">Incomplete scenarios:</td> | |
<td class="scenarioIncompleteValue"><strong>{incompleteScenarios}</strong></td> | |
</tr> | |
</table> | |
</div> | |
</td> | |
</tr> | |
</table> | |
</div> | |
</body> | |
</html> |