core-jgi/fitnesse/FitNesseRoot/files/templates/testHistoryXML.vm

23 lines
506 B
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<TestHistory>
#foreach ($page in $testHistory.pageNames)
#set ($pageHistory = $testHistory.getPageHistory($page))
#if($pageHistory)
#set($linkExtra = "?pageHistory&amp;format=xml")
<Page>
<Name>$page</Name>
<PageHistoryLink>$page$linkExtra</PageHistoryLink>
<Pass>$pageHistory.passes</Pass>
<Fail>$pageHistory.failures</Fail>
<MinDate>$pageHistory.minDate</MinDate>
<MaxDate>$pageHistory.maxDate</MaxDate>
</Page>
#end
#end
</TestHistory>