# android.support.test.runner

# android.support.test.runner

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Classes

|--------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AndroidJUnit4](https://developer.android.com/reference/android/support/test/runner/AndroidJUnit4)                                                           | Aliases the current default Android JUnit 4 class runner, for future-proofing.                                                                                           |
| [AndroidJUnitRunner](https://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner)                                                 | An[Instrumentation](https://developer.android.com/reference/android/app/Instrumentation.html)that runs JUnit3 and JUnit4 tests against an Android package (application). |
| [MonitoringInstrumentation](https://developer.android.com/reference/android/support/test/runner/MonitoringInstrumentation)                                   | An instrumentation that enables several advanced features and makes some hard guarantees about the state of the application under instrumentation.                       |
| [MonitoringInstrumentation.ActivityFinisher](https://developer.android.com/reference/android/support/test/runner/MonitoringInstrumentation.ActivityFinisher) | Loops through all the activities that have not yet finished and explicitly calls finish on them.                                                                         |
| [UsageTrackerFacilitator](https://developer.android.com/reference/android/support/test/runner/UsageTrackerFacilitator)                                       | Helper class to enable/disable usage tracker in the runner.                                                                                                              |

-

  ## Classes

  - [AndroidJUnit4](https://developer.android.com/reference/android/support/test/runner/AndroidJUnit4)
  - [AndroidJUnitRunner](https://developer.android.com/reference/android/support/test/runner/AndroidJUnitRunner)
  - [MonitoringInstrumentation](https://developer.android.com/reference/android/support/test/runner/MonitoringInstrumentation)
  - [MonitoringInstrumentation.ActivityFinisher](https://developer.android.com/reference/android/support/test/runner/MonitoringInstrumentation.ActivityFinisher)
  - [UsageTrackerFacilitator](https://developer.android.com/reference/android/support/test/runner/UsageTrackerFacilitator)