Stay organized with collections
Save and categorize content based on your preferences.
@RunWith(value = AndroidClasspathSuite.RunnerSuite)
class AndroidClasspathSuite
Test suite that finds all JUnit3 and JUnit4 test classes in the instrumentation context apk.
This is intended to replicate the legacy AndroidJUnitRunner behavior of discovering and running all tests when no '-e class' option is specified. e.g. the following AJUR invocations are equivalent
'adb shell am instrument mypkg/androidx.test.runner.AndroidJUnitRunner' 'adb shell am instrument -e class androidx.test.runner.suites.AndroidClasspathSuite mypkg/androidx.test.runner.AndroidJUnitRunner'
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.
Last updated 2025-07-17 UTC.
[null,null,["Last updated 2025-07-17 UTC."],[],[],null,["# AndroidClasspathSuite\n=====================\n\nArtifact: [androidx.test:runner](/jetpack/androidx/releases/test) \n[View Source](https://cs.android.com/search?q=file:androidx/test/runner/suites/AndroidClasspathSuite.java+class:androidx.test.runner.suites.AndroidClasspathSuite)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/test/runner/suites/AndroidClasspathSuite \"View this page in Java\")\n\n\n```\n@RunWith(value = AndroidClasspathSuite.RunnerSuite)\nclass AndroidClasspathSuite\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nTest suite that finds all JUnit3 and JUnit4 test classes in the instrumentation context apk.\n\nThis is intended to replicate the legacy AndroidJUnitRunner behavior of discovering and running all tests when no '-e class' option is specified. e.g. the following AJUR invocations are equivalent\n\n'adb shell am instrument mypkg/androidx.test.runner.AndroidJUnitRunner' 'adb shell am instrument -e class androidx.test.runner.suites.AndroidClasspathSuite mypkg/androidx.test.runner.AndroidJUnitRunner'"]]