# android.support.test.rule

## Classes

ActivityTestRule<T extends Activity> | This rule provides functional testing of a single activity.
DisableOnAndroidDebug | The `DisableOnAndroidDebug` Rule allows you to label certain rules to be disabled when debugging.
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).

- ## Classes

  - ActivityTestRule
  - DisableOnAndroidDebug
  - ServiceTestRule
  - UiThreadTestRule