AndroidJUnitRunner is a new unbundled test runner for Android, which is part of the Android Testing Support Library and can be downloaded via the Android Support Repository.

Here are some of the most common features:

  • JUnit4 support
  • Instrumentation Registry
  • Test Filters
  • Test timeouts
  • Sharding of tests
  • RunListener support to hook into the test run life-cycle
  • Activity and Application life-cycle monitoring
  • Intent Monitoring and Stubbing

This page only covers advanced AndroidJUnitRunner features. Documentation for basic usage can be found in the AndroidJUnitRunner section on To learn more about using this test runner, see the API reference.