Karumi插件的Android ScreenShot测试问题

时间:2018-06-12 11:57:53

标签: android testing gradle ui-testing

我正在尝试使用Karumi插件https://github.com/Karumi/Shot/为Android设置基本的UI测试。但是在运行时./gradlew executeScreenshotTests -Precord 它总是返回以下错误:

execution failed for task ':app:downloadScreenshots'.
> java.io.IOException: Cannot run program "null": error=2, No such file or directory

我在Manifest.xml文件中设置了读写权限,并且我有一个自定义MyTestRunner扩展AndroidJUnitRunner,用于estInstrumentationRunner我{ {1}}档案

我按照他们的回购中的所有步骤。 有人知道可能导致这种情况的原因吗?

0 个答案:

没有答案