Package org.apache.juneau.terminal.report
A TerminalEvent is one event of a terminal-view stream (a step, a suite
summary, a test, a note, ...). Each ReportReader reads one report
format (Surefire and JUnit XML, Jest JSON, Playwright JSON) into a
ReportResult, whose toEvents(step) yields the
replace, test and note events a producer appends to a terminal view when a step ends. A reader
never throws for bad input: a missing, oversize, malformed or truncated file yields the tests that could be
recovered plus a warning.
Use ReportReaders#forKind(java.lang.String) to pick a reader by
its report kind.
This module has no dependency on the REST server or on the view toolkit, so a producer (a build tool, a test
runner, a release application) can use it on its own;
-
ClassDescriptionReads Jest's
--json output.Reads a single JUnit-XML report file, such as pytest's--junitxml output.Reads Playwright's--reporter=json output.Bounds applied while reading a report, so a hostile or runaway file cannot exhaust memory.Reads one test-report format.Picks aReportReaderby report kind.What aReportReaderrecovered from a report.One test recovered from a report.Text helpers shared by the report readers.Reads Maven Surefire (and Failsafe)TEST-*.xml reports.One event of a terminal-view stream.The final status of a run.The final status of a step.The event kinds.The level of a note.The state of a step that has not ended.The status of a test.Shared validation grammar; not intended for application use.