Class ReportReaders

java.lang.Object
org.apache.juneau.terminal.report.ReportReaders

public final class ReportReaders extends Object
Picks a ReportReader by report kind.

The kinds are surefire, junitxml, pytest, jest-json and playwright-json. The parent kind junitxml yields the framework key junit-xml; a host that knows the file came from pytest asks for pytest, which yields the key pytest. Readers are stateless, so each kind shares one instance.

  • Method Details

    • forKind

      public static ReportReader forKind(String kind)
      Returns the reader for a report kind.
      Parameters:
      kind - The kind. May be null.
      Returns:
      The reader, or null if the kind is unknown.