android-test

Execute Android instrumented tests and capture detailed logcat outputs.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill android-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-test
Source: https://github.com/oscardlfr/AndroidCommonDoc/tree/main/skills/android-test
Command: npx skills add https://github.com/oscardlfr/AndroidCommonDoc --skill android-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of running Android instrumented tests and capturing detailed logcat outputs, enhancing the efficiency of test execution and debugging.

Core Features & Use Cases

  • Test Execution: Automatically run Android instrumented tests on connected devices or emulators.
  • Logcat Capture: Collect detailed logcat information for each test run, aiding in debugging and issue diagnosis.
  • Use Case: When you need to run a suite of Android tests and analyze the results for potential issues, this Skill provides a streamlined solution to automate the test run and log collection process.

Quick Start

Run the android-test skill with the device ID of your emulator: android-test --device emulator-5554.

Frequently Asked Questions about android-test

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

FAQPage Schema
How do I automate Android instrumented tests and capture logcat output?

You can automate Android instrumented tests and capture detailed logcat output by running a script that targets a connected device or emulator, streamlining test execution and debugging issue diagnosis.

What is the best way to collect detailed logcat logs during an Android test run?

Collecting detailed logcat logs during an Android test run is handled by executing the test suite against a specified device ID, which automatically captures and aggregates the logcat information for each test execution.

Do I need a connected Android device or emulator to run automated instrumented tests?

Yes, you need access to a connected Android device or a running emulator to execute automated instrumented tests, as the testing framework requires a target environment to deploy and run the test suite.

How do I run Android tests on a specific emulator instance?

To run Android tests on a specific emulator instance, pass the device ID as an argument, such as providing the emulator port like emulator-5554, to direct the test execution and logcat capture to that specific target.

Why use automated test execution for Android instrumented tests instead of running them manually?

Automated test execution for Android instrumented tests enhances efficiency by simultaneously running the test suite and capturing detailed logcat outputs, reducing manual overhead and streamlining the debugging process.

Can I use this automation for diagnosing issues in Android test runs?

Yes, you can use this automation for diagnosing issues because it collects detailed logcat information for each test run, providing the necessary runtime logs to aid in identifying and debugging failures.