If I run tests directly via TestNG, it will generate single emailable-report.html.
But if I run tests via Gradle (“gradle test”), no emailable-report.html generated.
Can you please teach me how can I get emailable-report.html by “gradle test”?
Thank you.
The HTML report generated by the test task usually consists of multiple files. What’s the main purpose of having a single HTML file? To email it for reporting? If that’s the case, I’d recommend setting up a Continuous Integration server that let’s you render the report in a web UI for each build.