Use this skill to run instrumented Android tests directly through adb shell am instrument -w -r without going through Gradle. Covers the required -w (wait — REQUIRED for meaningful exit codes) and -r (raw output) flags, the -e argument table (class, classmethod, package, size, numShards/shardIndex, debug, annotation / notAnnotation, listener, clearPackageData, targetInstrumentation), the canonical runners AndroidJUnitRunner and AndroidTestOrchestrator, the orchestrator wrapping pattern (target = orchestrator, -e targetInstrumentation / ), and the output framing (INSTRUMENTATIONSTATUSCODE 1=start, 0=ok, -1=error, -2=failure, -3=ignored, -4=assumption-failure; INSTRUMENTATIONRESULT; INSTRUMENTATIONCODE). Use when the user mentions am instrument, AndroidJUnitRunner, "run tests from CI without Gradle", "Orchestrator", clearPackageData, targetInstrumentation, exit codes from am instrument, or INSTRUMENTATIONSTATUSCODE.
Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI
Supported by the Atlas install prompt. Skill-specific requirements vary.
Skill stats
Skills1CategoryGeneralStars0
About this skill
Use this skill to run instrumented Android tests directly through adb shell am instrument -w -r without going through Gradle. Covers the required -w (wait — REQUIRED for meaningful exit codes) and -r (raw output) flags, the -e argument table (class, classmethod, package, size, numShards/shardIndex, debug, annotation / notAnnotation, listener, clearPackageData, targetInstrumentation), the canonical runners AndroidJUnitRunner and AndroidTestOrchestrator, the orchestrator wrapping pattern (target = orchestrator, -e targetInstrumentation / ), and the output framing (INSTRUMENTATIONSTATUSCODE 1=start, 0=ok, -1=error, -2=failure, -3=ignored, -4=assumption-failure; INSTRUMENTATIONRESULT; INSTRUMENTATIONCODE). Use when the user mentions am instrument, AndroidJUnitRunner, "run tests from CI without Gradle", "Orchestrator", clearPackageData, targetInstrumentation, exit codes from am instrument, or INSTRUMENTATIONSTATUSCODE.
Quick start
Copy the install prompt. Use the green button above this README.
Send it to your agent. Paste it into your coding agent’s chat and send.
Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Use this skill to run instrumented Android tests directly through `adb shell am instrument -w -r` without going through Gradle. Covers the required `-w` (wait — REQUIRED for meaningful exit codes) and `-r` (raw output) flags, the `-e` argument table (`class`, `class#method`, `package`, `size`, `numShards`/`shardIndex`, `debug`, `annotation` / `notAnnotation`, `listener`, `clearPackageData`, `targetInstrumentation`), the canonical runners `AndroidJUnitRunner` and `AndroidTestOrchestrator`, the orchestrator wrapping pattern (target = orchestrator, `-e targetInstrumentation <pkg>/<runner>`), and the output framing (`INSTRUMENTATION_STATUS_CODE` 1=start, 0=ok, -1=error, -2=failure, -3=ignored, -4=assumption-failure; `INSTRUMENTATION_RESULT`; `INSTRUMENTATION_CODE`). Use when the user mentions `am instrument`, `AndroidJUnitRunner`, "run tests from CI without Gradle", "Orchestrator", `clearPackageData`, `targetInstrumentation`, exit codes from `am instrument`, or `INSTRUMENTATION_STATUS_CODE`.
About this listing
Category
General
Reported license
Apache-2.0
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.