Class LegacyXmlReportGeneratingListener

java.lang.Object
org.junit.platform.reporting.legacy.xml.LegacyXmlReportGeneratingListener
All Implemented Interfaces:
TestExecutionListener

@API(status=STABLE, since="1.7") public class LegacyXmlReportGeneratingListener extends Object implements TestExecutionListener
LegacyXmlReportGeneratingListener is a TestExecutionListener that generates a separate XML report for each root in the TestPlan.

Note that the generated XML format is compatible with the legacy de facto standard for JUnit 4 based test reports that was made popular by the Ant build system.

Since:
1.4
See Also:
  • Field Details

  • Constructor Details

    • LegacyXmlReportGeneratingListener

      public LegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out)
    • LegacyXmlReportGeneratingListener

      LegacyXmlReportGeneratingListener(String reportsDir, PrintWriter out, Clock clock)
    • LegacyXmlReportGeneratingListener

      private LegacyXmlReportGeneratingListener(Path reportsDir, PrintWriter out, Clock clock)
  • Method Details