小编Ank*_*kur的帖子

Android测试用例无法在调试模式下工作

我无法调试android Instrumentation测试用例(使用espresso和UiAutomator)

但早期的测试用例调试工作正常,但最近的更新它不再起作用了.它总是在实例化单元测试时受到攻击 在此输入图像描述

我可以在命令窗口看到它正在尝试启动PACKAGE_NAME**.test**

 adb shell am instrument -w -r   -e debug true -e class PACKAGE_NAME.LanguageScreenTest#testSelectImportant PACKAGE_NAME**.test**/android.support.test.runner.AndroidJUnitRunner
Run Code Online (Sandbox Code Playgroud)

android android-testing android-studio android-instrumentation

5
推荐指数
1
解决办法
1701
查看次数