android-test-structure

Community

Set up androidTest scaffolding for Espresso.

Authorhitoshura25
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Android projects often lack a standardized, reusable test scaffolding, forcing teams to recreate boilerplate for instrumented tests.

Core Features & Use Cases

  • Automated scaffolding of androidTest directory structure under app/src/androidTest with base and utils packages.
  • Generation of a BaseTest.kt and TestUtils.kt to accelerate Espresso-based UI tests.
  • Use Case: rapidly bootstrap test infrastructure in new or existing Android projects to start writing tests immediately.

Quick Start

  • Ensure you have a Gradle-based Android project with Espresso dependencies.
  • Provide inputs: project_path (path to the Android project root) and package_name (e.g., com.example.app).
  • Run the skill to generate app/src/androidTest/kotlin/${PACKAGE_PATH}/base/BaseTest.kt and app/src/androidTest/kotlin/${PACKAGE_PATH}/utils/TestUtils.kt, plus a README at app/src/androidTest/README.md.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: android-test-structure
Download link: https://github.com/hitoshura25/claude-devtools/archive/main.zip#android-test-structure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.