小编Cos*_*tiu的帖子

Android Studio测试成功,但不会停止junit

我是Android的新手,正在Android Studio中构建应用程序。我已经使用JUnit和Mockito编写了一些测试。

测试成功运行,并在运行控制台中显示文本Process finished with exit code 0

但是,该线程似乎保持活动状态,已启用“停止”按钮,即使单击该线程也没有任何反应。如果我尝试启动多个测试配置,尽管过程成功完成,但它们都保持活动状态。

我希望这个问题足够清楚...我已经搜寻了很多答案,并竭尽所能。

testing junit android unit-testing android-studio

6
推荐指数
2
解决办法
371
查看次数

标签 统计

android ×1

android-studio ×1

junit ×1

testing ×1

unit-testing ×1