velocity.default.vm Maven / Gradle / Ivy
$testrun.Title
#if ($testrun.result == "FAILURE")
#set( $outcome_icon = "fail.png" )
#set( $outcome_text = "failing-color" )
#elseif ($testrun.result == "SUCCESS")
#set( $outcome_icon = "success.png" )
#set( $outcome_text = "success-color" )
#elseif ($testrun.result == "PENDING")
#set( $outcome_icon = "pending.png" )
#set( $outcome_text = "pending-color" )
#else
#set( $outcome_icon = "ignor.png" )
#set( $outcome_text = "ignore-color" )
#end
Step
Screenshot
Outcome
Duration
#foreach($step in $testrun.TestSteps)
#if ($step.result == "FAILURE")
#set( $step_outcome_icon = "fail.png" )
#elseif ($step.result == "SUCCESS")
#set( $step_outcome_icon = "success.png" )
#elseif ($step.result == "PENDING")
#set( $step_outcome_icon = "pending.png" )
#else
#set( $step_outcome_icon = "ignor.png" )
#end
#end