velocity.user-story.vm Maven / Gradle / Ivy
Stories
Home / Features
#if ($story.result == "FAILURE")
#set( $outcome_icon = "fail.png" )
#set( $outcome_text = "failing-color" )
#elseif ($story.result == "SUCCESS")
#set( $outcome_icon = "success.png" )
#set( $outcome_text = "success-color" )
#elseif ($story.result == "PENDING")
#set( $outcome_icon = "pending.png" )
#set( $outcome_text = "pending-color" )
#else
#set( $outcome_icon = "ignor.png" )
#set( $outcome_text = "ignore-color" )
#end
Acceptance Criteria
Steps
Failed
Pending
Ignored
Skipped
Duration
#foreach($testOutcome in $story.testOutcomes)
#if ($testOutcome.result == "FAILURE")
#set( $testrun_outcome_icon = "fail.png" )
#elseif ($testOutcome.result == "SUCCESS")
#set( $testrun_outcome_icon = "success.png" )
#elseif ($testOutcome.result == "PENDING")
#set( $testrun_outcome_icon = "pending.png" )
#else
#set( $testrun_outcome_icon = "ignor.png" )
#end
$testOutcome.title
$testOutcome.stepCount
$testOutcome.failureCount
$testOutcome.pendingCount
$testOutcome.skippedCount
$testOutcome.ignoredCount
$testOutcome.duration ms
#end