Interface IReportGenerator
- All Known Implementing Classes:
JUnitReportGenerator
public interface IReportGenerator
Interface for a test report generator.
-
Method Summary
Modifier and Type Method Description String
createReport(String title, String description, ITestEntity testEntity)
Creates report data as string.default String
createReport(String title, String description, ITestEntity testEntity, Object reportData)
Creates report data as string.String
getDefaultExtension()
Returns the default file extension to be used for this kind of report without the preceding dot (eg "txt").
-
Method Details
-
createReport
Creates report data as string.- Parameters:
title
- report titledescription
- generic descriptiontestEntity
- test element to be exported- Returns:
- String containing full test report
-
createReport
default String createReport(String title, String description, ITestEntity testEntity, Object reportData)Creates report data as string.- Parameters:
title
- report titledescription
- generic descriptiontestEntity
- test element to be exportedreportData
- additional report data. Specific to report type. Could benull
- Returns:
- String containing full test report
-
getDefaultExtension
String getDefaultExtension()Returns the default file extension to be used for this kind of report without the preceding dot (eg "txt").- Returns:
- file extension to be used
-