All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.core.SerenityReports Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
package net.serenitybdd.core;

import net.thucydides.model.reports.ReportService;
import net.thucydides.model.webdriver.Configuration;

/**
 * Provide supporting methods for creating report listeners and generating reports.
 */
public class SerenityReports {

    public static ReportService getReportService(Configuration systemConfiguration) {
        return new ReportService(systemConfiguration.getOutputDirectory(), ReportService.getDefaultReporters());
    }

    public static SerenityListeners setupListeners(Configuration systemConfiguration) {
        return new SerenityListeners(systemConfiguration);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy