Android studio运行单元测试报错: Class Not Found: Empty Test Suite

使用Espresso时报错 Class not found: “com.test.LoginUnitTest”Empty test suite. 原因:没有将该测试类添加到InstrumentedTest中 解决: 1.打开配置,选择Edit Configurations 2.添加该测试类,点击+选择Android Instrumented Tests就可以进行添加了
相关文章
相关标签/搜索