package

android.support.test.rule

Classes

ActivityTestRule<T extends Activity> This rule provides functional testing of a single activity. 
ServiceTestRule A JUnit rule that provides a simplified mechanism to start and shutdown your service before and after the duration of your test. 
UiThreadTestRule This rule allows the test method annotated with UiThreadTest to execute on the application's main thread (or UI thread).