Viewing Maven Surefire reports
Where Reports Are Generated
After a Maven test run, Surefire generates reports inside target/surefire-reports — including both plain-text (.txt) and XML (.xml) summaries for each test class.
What the Reports Show
- Number of tests run, passed, failed, and skipped.
- Execution time per test.
- Stack traces for any failures.
Why This Matters
These XML reports are the format most CI/CD tools (like Jenkins) read to display test result trends and publish pass/fail dashboards automatically.
Ready to master real-world software testing?
Learn manual and automation testing hands-on with mentor-led sessions.
.png)