org.jbehave.core.reporters
Class FreemarkerReportRenderer
java.lang.Object
org.jbehave.core.reporters.FreemarkerReportRenderer
- All Implemented Interfaces:
- ReportRenderer
public class FreemarkerReportRenderer
- extends Object
- implements ReportRenderer
Freemarker-based report renderer, using the file outputs generated by the
reporters for the given formats. The FTL templates for the index and single
views are injectable via the FreemarkerReportRender(Properties)
constructor, but defaults are provided. To override, specify the the path the
new template under keys "index" and "single".
The report renderer provids the following template resources:
resources.setProperty("index", "ftl/jbehave-reports-index.ftl");
resources.setProperty("single", "ftl/jbehave-reports-single.ftl");
resources.setProperty("renderedDirectory", "rendered");
resources.setProperty("defaultFormats", "stats");
- Author:
- Mauro Talevi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerReportRenderer
public FreemarkerReportRenderer()
FreemarkerReportRenderer
public FreemarkerReportRenderer(Properties templateResources)
render
public void render(File outputDirectory,
List<String> formats)
- Specified by:
render
in interface ReportRenderer
Copyright © 2003-2010. All Rights Reserved.