英文:
Run the connectedAndroidTest task does not generate test result xml file anymore
问题
可能从Gradle更新到版本8.1.0后,我们运行UI Android测试的命令
./gradlew connectedAndroidTest
不会在文件夹
path_to_your_project/module_name/build/outputs/androidTest-results/connected/
生成测试结果的XML文件,正如官方文档所描述的那样:https://developer.android.com/studio/test/command-line
这是一个错误吗?也许使用另一个文件夹来存储XML测试结果?
有任何建议吗?
谢谢。
英文:
Maybe from gradle update to version 8.1.0 our command to run ui android tests
./gradlew connectedAndroidTest
does not generate test result xml file in the folder
path_to_your_project/module_name/build/outputs/androidTest-results/connected/
as described in the official docs: https://developer.android.com/studio/test/command-line
It is a bug? Maybe another folder is used to store xml test result?
Any suggestions?
Thanks
答案1
得分: 1
尝试检查连接的“debug”文件夹。
英文:
try to check in the debug
folder in connected.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论