org.jbehave.core.reporters
Class FreemarkerReportRenderer
java.lang.Object
org.jbehave.core.reporters.FreemarkerReportRenderer
- All Implemented Interfaces:
- ReportRenderer
public class FreemarkerReportRenderer
- extends java.lang.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 provides the following 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(java.util.Properties resources)
render
public void render(java.io.File outputDirectory,
java.util.List<java.lang.String> formats)
- Specified by:
render
in interface ReportRenderer
countScenarios
public int countScenarios()
- Specified by:
countScenarios
in interface ReportRenderer
countFailedScenarios
public int countFailedScenarios()
- Specified by:
countFailedScenarios
in interface ReportRenderer
Copyright © 2003-2010. All Rights Reserved.