Interface IReportGenerator

All Known Implementing Classes:
JUnitReportGenerator

public interface IReportGenerator
Interface for a test report generator.
  • Method Details

    • createReport

      String createReport(String title, String description, ITestEntity testEntity)
      Creates report data as string.
      Parameters:
      title - report title
      description - generic description
      testEntity - 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 title
      description - generic description
      testEntity - test element to be exported
      reportData - additional report data. Specific to report type. Could be null
      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