Reading and understanding reports
TestNG's Default Report
After a run, TestNG generates an HTML report in test-output, listing which tests passed, failed, or were skipped, along with execution time and error details for failures.
What to Look For
- Overall pass/fail counts, to get a quick health check of the build.
- Stack traces on failures, to identify the exact line and cause of failure.
- Patterns across failures — are several tests failing for the same underlying reason?
Extending Reporting
Many teams add a richer reporting library (like ExtentReports or Allure) on top of TestNG's basic report for more detailed, shareable results with screenshots.
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.