9

Android studio says "Empty Test Suite" for AndroidTestCase

view full story
linux-howto

http://stackoverflow.com – I have created an example test case that extends AndroidTestCase. When I run the test case, it errors out by saying Running tests Test running startedTest running failed: Instrumentation run failed due to 'java.lang.RuntimeException' Empty test suite. The test case import android.test.AndroidTestCase; import android.test.suitebuilder.annotation.SmallTest; import static org.junit.Assert.assertEquals; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import java.lang.Exception; import java.lang.Override; public class DateFormatTest extends AndroidTestCas (HowTos)