reporter.templates.report.part.suiteSummary.vm Maven / Gradle / Ivy
Integration tests (full logs)
Tests
Methods
Passed Steps Count
Failed Steps Count
Steps Count
Duration
#set ($totalPassed = 0)
#set ($totalFailed = 0)
#set ($totalSteps = 0)
#set ($testIdx = 0)
#foreach ($testContext in $tests.entrySet())
#foreach ($testResult in $testContext.value)
#set ($testIdx = $testIdx + 1)
#**
Compute step state for each test
*#
#set ($passedSteps = 0)
#set ($failedSteps = 0)
#set ($totalTestSteps = 0)
#set ($stepsDuration = 0)
#set ($testDuration = ($testResult.getEndMillis() - $testResult.getStartMillis()) / 1000)
#foreach ($testStep in $steps.get($testResult))
#if ($testStep.getFailed())
#set ($failedSteps = $failedSteps + 1)
#else
#set ($passedSteps = $passedSteps + 1)
#end
#set ($totalTestSteps = $totalTestSteps + 1)
#set ($stepsDuration = $stepsDuration + $testStep.getDuration() / 1000)
#end
#set ($totalPassed = $totalPassed + $passedSteps)
#set ($totalFailed = $totalFailed + $failedSteps)
#set ($totalSteps = $totalSteps + $totalTestSteps)
#if ($testResult.getMethod().getDescription())
#set ($description = $testResult.getMethod().getDescription())
#else
#set ($description = "no description available")
#end
#if ($testResult.getStatus() == 1)
$testContext.key.getName()
$testResult.getAttribute("uniqueMethodName")
#elseif ($testResult.getStatus() == 2)
$testContext.key.getName()
$testResult.getAttribute("uniqueMethodName")
#else
$testContext.key.getName()
$testResult.getAttribute("uniqueMethodName")
#end
$passedSteps
#if ($failedSteps == 0)
$failedSteps
#else
$failedSteps
#end
$totalTestSteps
$stepsDuration sec.
#end
#end
Total
$totalPassed
$totalFailed
$totalSteps
© 2015 - 2025 Weber Informatics LLC | Privacy Policy