版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiaoluoli88/article/details/78657364
使用Espresso时报错
Class not found: “com.test.LoginUnitTest”Empty test suite.
原因:没有将该测试类添加到InstrumentedTest中
解决:
1.打开配置,选择Edit Configurations
2.添加该测试类,点击+选择Android Instrumented Tests就可以进行添加了