This runner offers several features on top of the standard JUnit4 runner,
Supports running on Robolectric. This implementation will delegate to RobolectricTestRunner
if test is running in Robolectric enviroment. A custom runner can be provided by specifying
the full class name in a 'android.junit.runner' system property.
Supports a per-test timeout - specfied via a 'timeout_msec' AndroidJUnitRunner argument.
Supports running tests on the application's UI Thread, for tests annotated with ERROR(/UiThreadTest).
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.