Gradle TestNG results output

后端 未结 1 1952
长发绾君心
长发绾君心 2021-01-16 08:42

I can\'t seem to figure out how to configure log output and results folders for Gradle TestNG runs.

First, Gradle picks $project_dir/build/reports/tests

相关标签:
1条回答
  • 2021-01-16 08:57

    The testReportDir property is read-only. You'll need to set Project.testReportDirName. You should be able to enable test logging like so.

    test {
        testLogging.showStandardStreams = true
    }
    
    0 讨论(0)
提交回复
热议问题