JUnit/Espresso: “empty test suite”
问题 Far too often in Android Studio I run into this problem: I can run the entire suite of UI Tests just fine, but cannot run a single file or a single test case. When I try, I will get an error such as: Process finished with exit code 1 Class not found: "com.example.MyTest"Empty test suite. 回答1: It's a hassle, but I have found a solution. Go to Edit Configurations... Add a new test configuration manually. Make sure to select Android Instrumented Tests Type in a name for this configuration -