Android studio 未找到Android Studio测试报告/结果

Android studio 未找到Android Studio测试报告/结果,android-studio,android-gradle-plugin,android-studio-2.3,Android Studio,Android Gradle Plugin,Android Studio 2.3,我按照这里的说明进行操作:。我将此块添加到app module gradle文件中的Android块中: testOptions { // Changes the directory where Gradle saves test reports. By default, Gradle saves test reports // in the path_to_your_project/module_name/build/outputs/reports/ directory. // '$rootD

我按照这里的说明进行操作:。我将此块添加到app module gradle文件中的Android块中:

testOptions {
// Changes the directory where Gradle saves test reports. By default, Gradle saves test reports
// in the path_to_your_project/module_name/build/outputs/reports/ directory.
// '$rootDir' sets the path relative to the root directory of the current project.
reportDir "$rootDir/test-reports"
// Changes the directory where Gradle saves test results. By default, Gradle saves test results
// in the path_to_your_project/module_name/build/outputs/test-results/ directory.
// '$rootDir' sets the path relative to the root directory of the current project.
resultsDir "$rootDir/test-results"
}

然而,我在我的项目文件夹中找不到任何测试结果/报告(我搜索了整个文件夹,什么也没找到)


我正在运行Android测试(不是单元测试)。医生说这个模块适用于所有类型的测试,所以…为什么它不起作用?

这方面运气好吗?我也有同样的问题。我觉得这是非常基本的,应该不会太难实现。有解决方案吗?这里也一样。