# androidx.test.runner

# androidx.test.runner

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/test/runner/package-summary "View this page in Java")

## Classes

|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [AndroidJUnit4](https://developer.android.com/reference/kotlin/androidx/test/runner/AndroidJUnit4)                                                           | **This class is deprecated.** use[androidx.test.ext.junit.runners.AndroidJUnit4](https://developer.android.com/reference/kotlin/androidx/test/ext/junit/runners/AndroidJUnit4)instead. <br /> |
| [AndroidJUnitRunner](https://developer.android.com/reference/kotlin/androidx/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/kotlin/androidx/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/kotlin/androidx/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/kotlin/androidx/test/runner/UsageTrackerFacilitator)                                       | **This class is deprecated.** obsolete and will be removed in the future. <br />                                                                                                              |