From here.
If you want to run a single test method in Gradle, do as following:
1 | gradle test --tests com.test.myproject.mypackage.MyTestClass.myTestMethod |
And then you can open the “build/reports/tests/test/index.html” file to get the whole logging output in the testing report.