android - Espresso 测试未在 android studio 中运行

标签 android android-studio kotlin android-espresso

我正在为我在 android studio 中的应用程序做一些 Espresso 测试,它正在运行并突然停止工作,基本上测试构建并开始但它卡在测试结果中并且什么都不显示,我的意思是它没有显示任何测试通过。如果有人可以提供帮助,我将不胜感激,谢谢

  • 这是我的 android studio 的截图(它显示启动成功但测试没有开始)

enter image description here

最佳答案

降级帮助了我:

androidx.test.espresso:espresso-core:3.4.0 -> 3.3.0

androidx.test.espresso:espresso-contrib:3.4.0 -> 3.3.0

关于android - Espresso 测试未在 android studio 中运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70622183/

相关文章:

android - Google Play 服务在 Android 模拟器中已过时

android - android的文件系统可以直接从应用程序访问吗

android - 记录 Android 应用程序第三方分析库的 http 流量网络

Android:在不引入循环依赖错误的情况下拆分 Eclipse 项目?

android - 将 Ant Library 项目添加到我的 Gradle 项目中

gradle - 提供者 pactVerify 没有获取 JSON Pact 文件

generics - 比较 Kotlin 中的可比对象列表

android - 如何在 Android Studio 中为演示和完整 flavor 代码创建适当的目录?

android-studio - 运行 android 时出错 : Gradle project sync failed. 请修复您的项目并重试

android - 如何从 'Unresolved reference: arch' 解决 "import android.arch.lifecycle"?