Freemarker-based {@link ViewGenerator}, which uses the configured FTL templates for the views. The default view properties are overridable via the method {@link Properties} parameter. To override, specify the path to the newtemplate under the appropriate key:
The view generator provides the following default properties:
"views": "ftl/jbehave-views.ftl" "maps": "ftl/jbehave-maps.ftl" "navigator": "ftl/jbehave-navigator.ftl" "reports": "ftl/jbehave-reports-with-totals.ftl" "decorated": "ftl/jbehave-report-decorated.ftl" "nonDecorated": "ftl/jbehave-report-non-decorated.ftl" "decorateNonHtml": "true" "defaultFormats": "stats" "viewDirectory": "view"
The view generator can also specify the {@link StoryNameResolver} (defaultingto {@link UnderscoredToCapitalized}) and the class whose ClassLoader Freemarker uses to load the templates from (defaulting to {@link FreemarkerProcessor}).
@author Mauro Talevi
|
|
|
|
|
|
|
|