0

我将toothpicksdk 版本更新为3.0.2from 1.1.3。更新后,无法ToothPickRuletoothpick. 这导致测试用例失败。

4

1 回答 1

0

您需要包含以下依赖项:

testImplementation 'com.github.stephanenicolas.toothpick:toothpick-testing-junit4:3.0.2'

它包含ToothPickRule.

ToothPick 的当前版本是 3.1.0,因此您可能也想更新到它。

于 2020-04-23T15:29:12.910 回答