templates.macros.report.elements.vm Maven / Gradle / Ivy
#macro(includeElements, $elements, $linkToFeature)
#foreach($element in $elements)
#if($linkToFeature)
View Feature $element.getFeature().getName()
#end
#includeTags($element.getTags())
#includeBrief($element.getKeyword(), $element.getStatus(), $element.getName())
$element.getDescription()
#includeHooks("Before", $element.getBefore())
#foreach($step in $element.getSteps())
#includeBrief($step.getKeyword(), $step.getStatus(), $step.getName(), $step.getResult())
#includeMessage($step.getErrorMessage())
#if($step.hasRows())
#foreach($row in $step.getRows())
#foreach($cell in $row.getCells())
$cell
#end
#end
#end
#includeMessage($step.getOutput(), "output")
#if(!$step.getAttachments().isEmpty())
#end
#end
#includeHooks("After", $element.getAfter())
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy