运行connectedAndroidTest任务不再生成测试结果XML文件。

huangapple go评论70阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年7月27日 19:59:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76779515.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定