android-test-runner

Run Android unit and instrumentation tests across Gradle multi-variant builds.

3|Updated Sep 29, 2025
One-click install
npx skills add https://github.com/xtone/ai_development_tools --skill android-test-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-test-runner
Source: https://github.com/xtone/ai_development_tools/tree/main/android_development/.claude/skills/android-test-runner
Command: npx skills add https://github.com/xtone/ai_development_tools --skill android-test-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates Android test execution, failure analysis, and remediation suggestions, reducing debugging time for complex multi-variant Gradle projects.

Core Features & Use Cases

  • Automated test execution for unit tests and instrumentation tests across multi-variant builds.
  • Intelligent failure analysis that identifies root causes from logs and stack traces.
  • Actionable fix proposals with code snippets and precise file/line references.
  • Environment and build-variant handling (JAVA_HOME setup, variant detection) to simplify Android projects.
  • Use cases include running all unit tests for a module, analyzing a failing test, and generating verifiable Fix Suggestions.

Quick Start

Use the android-test-runner to run tests and analyze failures:

  • "Run all unit tests for the app module."
  • "Analyze failures from UserRepositoryTest and propose fixes."
  • "Obtain fix suggestions with code snippets and file references."

Frequently Asked Questions about android-test-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Android test execution for multi-variant Gradle projects?

Automate Android test execution for multi-variant Gradle projects by running unit and instrumentation tests across flavors and build types, handling JAVA_HOME setup and variant detection automatically. This simplifies complex multi-variant test runs.

How do I analyze Gradle test failures and get actionable fix suggestions?

Analyze Gradle test failures by parsing logs and stack traces to identify root causes, then receive actionable fix suggestions. Proposals include concrete code snippets with precise file and line references for direct verification in CI or local runs.

Can I run specific test classes across different Android build variants?

Yes, you can run specific test classes across different Android build variants. The automation recognizes test patterns, enabling you to execute unit tests or instrumentation tests for targeted classes across flavors and build types.

What is the best way to debug failing Android instrumentation tests locally?

The best way to debug failing Android instrumentation tests locally is using automated failure analysis that detects issues from logs, parses stack traces, and proposes concrete remediation steps with verifiable code snippets.

Does automated Android test analysis work with CI pipelines?

Yes, automated Android test analysis works with CI pipelines. The Skill generates fix proposals and presents verifiable steps with code snippets and precise file references that can be directly verified in CI or local runs.