checks the validity of the DummyActivity */ @RunWith(AndroidJUnit4.class) @LargeTest public class DummyBaseTest { @Rule public ActivityTestRule<DummyActivity> mActivityRule = new ActivityTestRule<>(DummyActivity.class); @Before public void setup() { // You might want to do something else here } @Test public void testContext() { assertThat(mActivityRule.getContext(), notNullValue()); } @After public void teardown() { // You might want to do something else here } }
your Android apps on real phones and tablets • Provide test reports containing high-level results, low-level logs, screenshot and performance data • Testing is performed in parallel