Examples of useViewGenerator()


Examples of org.jbehave.core.configuration.Configuration.useViewGenerator()

    @Override
    public Configuration configuration() {
        Configuration configuration = super.configuration();
        Properties viewResources = new Properties();
        viewResources.put("reports", "ftl/custom-reports.ftl");
        configuration.useViewGenerator(new FreemarkerViewGenerator(this.getClass()));
        return configuration.useStoryReporterBuilder(configuration.storyReporterBuilder()
                .withViewResources(viewResources)
                .withFormats(CustomHtmlOutput.FORMAT));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.