Package org.apache.tapestry5.test
Interface ErrorReporter
- All Known Implementing Classes:
ErrorReporterImpl
public interface ErrorReporter
Responsible for writing an error report for the current test, after an assertion fails. The HTML
source for the page is downloaded and written to a
file in the TestNG output directory (in a file named after the test).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeErrorReport
(String reportText) Writes an error report file into the TestNG output directory, based on the name of the test, containing the current page content.
-
Method Details
-
writeErrorReport
Writes an error report file into the TestNG output directory, based on the name of the test, containing the current page content.- Parameters:
reportText
- text to store in an associated .txt file, describing the failure.
-