Class SerenityReportExtension

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.AfterAllCallback, org.junit.jupiter.api.extension.Extension

    public class SerenityReportExtension
    extends java.lang.Object
    implements org.junit.jupiter.api.extension.AfterAllCallback
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterAll​(org.junit.jupiter.api.extension.ExtensionContext context)  
      protected void generateReports​(net.thucydides.core.steps.BaseStepListener baseStepListener)  
      protected java.util.Collection<net.thucydides.core.reports.AcceptanceTestReporter> getDefaultReporters()  
      java.io.File getOutputDirectory()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SerenityReportExtension

        public SerenityReportExtension()
    • Method Detail

      • afterAll

        public void afterAll​(@NotNull
                             org.junit.jupiter.api.extension.ExtensionContext context)
                      throws java.lang.Exception
        Specified by:
        afterAll in interface org.junit.jupiter.api.extension.AfterAllCallback
        Throws:
        java.lang.Exception
      • generateReports

        protected void generateReports​(net.thucydides.core.steps.BaseStepListener baseStepListener)
      • getDefaultReporters

        protected java.util.Collection<net.thucydides.core.reports.AcceptanceTestReporter> getDefaultReporters()
        Returns:
        The default reporters applicable for standard test runs.
      • getOutputDirectory

        public java.io.File getOutputDirectory()