FitNesseRoot.files.templates.testHistory.vm Maven / Gradle / Ivy
#set ($page_title="Test History")
#parse("pageHead.vm")
#set($noHistory = true)
Page
Pass
Fail
Latest
Last 20 Results
#foreach ($page in $testHistory.pageNames)
#set ($pageHistory = $testHistory.getPageHistory($page))
#if($pageHistory)
#set($noHistory = false)
#set ($barGraph = $pageHistory.getBarGraph())
#if($pageHistory.passes==0) #set ($passClass = "ignore")
#else #set ($passClass = "pass")
#end
#if($pageHistory.failures==0) #set ($failClass = "ignore")
#else #set ($failClass = "fail")
#end
$page
$pageHistory.passes
$pageHistory.failures
$barGraph.formatEndingDate("dd MMM, yy HH:mm")
#foreach($passFail in $barGraph.passFailArray())
#if($passFail.Pass)
+
#else
-
#end
#end
#end
#end
#if ($noHistory)No History#end
#parse("pageFooter.vm")