net.serenitybdd.core.SerenityReports Maven / Gradle / Ivy
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