All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.macros.report.hooks.vm Maven / Gradle / Ivy

Go to download

Provides pretty html reports for Cucumber (Behaviour-Driven Development). It works by generating html from the cucumber json report formatter. So can be used anywhere a json report is generated. Current use is in the cucumber jenkins plugin and a maven mojo to generate the same report from mvn command line when running locally.

There is a newer version: 5.8.6
Show newest version
#macro(includeHooks, $keyword, $hooks, $status)

#if($hooks.size() > 0)
  
#foreach($hook in $hooks)
$keyword #if ($hook.getMatch()) $hook.getMatch().getLocation() #end #includeDuration($hook.getResult())
#if ($hook.getResult()) #includeMessage("Error message", $hook.getResult().getErrorMessage()) #end #includeEmbeddings($hook.getEmbeddings())
#end
#end #end




© 2015 - 2025 Weber Informatics LLC | Privacy Policy