Class PlaywrightJsonReportReader
java.lang.Object
org.apache.juneau.terminal.report.PlaywrightJsonReportReader
- All Implemented Interfaces:
ReportReader
Reads Playwright's --reporter=json output.
The framework key is
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfw()Returns the default framework key for the tests this reader produces.read(Path path, ReportLimits lim) Reads a report.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.juneau.terminal.report.ReportReader
read
-
Constructor Details
-
PlaywrightJsonReportReader
public PlaywrightJsonReportReader()
-
-
Method Details
-
fw
Description copied from interface:ReportReaderReturns the default framework key for the tests this reader produces.- Specified by:
fwin interfaceReportReader- Returns:
- The key, for example
surefire orjest .
-
read
Description copied from interface:ReportReaderReads a report.- Specified by:
readin interfaceReportReader- Parameters:
path- The report file (or, for Surefire, a directory of them).lim- The bounds to apply.- Returns:
- The result; never
null .
-