android - 在 3.0.2 版本中找不到 ToothPickRule 类
问题描述
我将toothpick
sdk 版本更新为3.0.2
from 1.1.3
。更新后,无法ToothPickRule
在toothpick
. 这导致测试用例失败。
解决方案
您需要包含以下依赖项:
testImplementation 'com.github.stephanenicolas.toothpick:toothpick-testing-junit4:3.0.2'
它包含ToothPickRule
.
ToothPick 的当前版本是 3.1.0,因此您可能也想更新到它。
推荐阅读
- syntax - 序言中的规则与这些自然语言相协调
- java - 如何从数组列表中获取多语言 android 应用程序
- javascript - 承诺得到解决而不是被拒绝,甚至内部承诺也返回
- excel - 使用 Azure 数据工厂将多个 Excel 数据转换为一个主文件
- python - Django 实时作业
- python - 图像格式不支持 PyGame
- javascript - 在尝试将 firebase 数据返回到另一个页面时,它传递了 undefined
- c - 显示超过 2 个字节的 C char 数据类型
- typescript - 与 tsify 和 firebase 一起使用的 Babelify 不会生成正确的代码
- excel - 如何从excel中两列的数据中找到四分位数