Is there a way to get gradle to automatically open the test report in a browser? If there isn’t, what do people think about a switch like --open-failed-tests-report?
Jon
Is there a way to get gradle to automatically open the test report in a browser? If there isn’t, what do people think about a switch like --open-failed-tests-report?
Jon
After 1/2 of efforts, I could make this work this way… in kotlin DSL
> import java.awt.Desktop
>
> tasks.register("openTR") {
> doLast {
> Desktop.getDesktop().browse (File("$buildDir/reports/tests/test/index.html").toURI())
> }
> }