Can't run android test suite: Exception in thread “main” java.lang.ClassNotFoundException
问题 I have 2 test classes that I need to run on a test suite one is RestaurantModelTest the other is CartModelTest.class : @Config(sdk = 16, manifest = "src/main/AndroidManifest.xml") @RunWith(RobolectricTestRunner.class) public class RestaurantModelTest { //setUp code here... @Test public void testFindByLocation() throws Exception { //test code here } } So I followed some tutorials online and they specify to create a TestSuite class like this with my 2 classes to be tested: import org.junit