Class EmailableReporter

  • All Implemented Interfaces:
    IReporter, ITestNGListener

    public class EmailableReporter
    extends Object
    implements IReporter
    Reported designed to render self-contained HTML top down view of a testing suite.
    Since:
    5.2
    • Constructor Detail

      • EmailableReporter

        public EmailableReporter()
    • Method Detail

      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • generateMethodSummaryReport

        protected void generateMethodSummaryReport​(List<ISuite> suites)
        Creates a table showing the highlights of each test method with links to the method details
      • generateMethodDetailReport

        protected void generateMethodDetailReport​(List<ISuite> suites)
        Creates a section showing known results for each method
      • generateExceptionReport

        protected void generateExceptionReport​(Throwable exception,
                                               ITestNGMethod method)
      • generateSuiteSummaryReport

        public void generateSuiteSummaryReport​(List<ISuite> suites)
      • startHtml

        protected void startHtml​(PrintWriter out)
        Starts HTML stream
      • endHtml

        protected void endHtml​(PrintWriter out)
        Finishes HTML stream