TestNG Reporting
In this lesson, you'll understand TestNG Reporting.
List of default TestNG reports #
TestNG adds a few basic reports of the test run by default. The following are some reporters:
org.testng.reporters.SuiteHTMLReporter– generates a HTML reporter for suites.org.testng.reporters.FailedReporter– generates testng-failed.xml containing only the failed tests.org.testng.reporters.XMLReporter– generates summary of test output in xml format.org.testng.reporters.EmailableReporter2– generates a single-page HTML report emailable-report.html of the test results.org.testng.reporters.JUnitReportReporter– generates Junit test output xml for each of the test suites.