Freemarker-based {@link ViewGenerator}, using the file outputs of the reporters for the given formats. The FTL templates for the index and single views are injectable the {@link #generateView(File,List,Properties)} butdefaults are provided. To override, specify the path the new template under keys "index", "decorated" and "nonDecorated".
The view generator provides the following resources:
resources.setProperty("index", "ftl/jbehave-reports-index.ftl"); resources.setProperty("decorated", "ftl/jbehave-report-decorated.ftl"); resources.setProperty("nonDecorated", "ftl/jbehave-report-non-decorated.ftl"); resources.setProperty("decorateNonHtml", "true"); resources.setProperty("defaultFormats", "stats"); resources.setProperty("viewDirectory", "view");@author Mauro Talevi
|
|
|
|
|
|
|
|