android-tdd

Installation
SKILL.md

Android TDD

Overview

Extends superpowers:test-driven-development with Android-specific patterns.

REQUIRED BACKGROUND: You MUST follow superpowers:test-driven-development. This skill adds Android context — it does not replace the Iron Law or RED-GREEN-REFACTOR cycle.

Android's Three Testing Tiers

Choose the lowest tier that can meaningfully test the behaviour:

Tier Location Runs on Speed Use for
Unit src/test/ JVM Fast Pure logic, ViewModels, UseCases, Repositories
Integration src/test/ with Robolectric JVM (simulated) Medium Room DAOs, Context-dependent code, Fragment logic
Instrumented src/androidTest/ Device/emulator Slow Compose UI, real DB, end-to-end flows

Rationalization trap: "Instrumented tests are too slow" is never a reason to skip UI testing for UI code.

Installs
2
GitHub Stars
59
First Seen
Mar 25, 2026
android-tdd — rcosteira79/coroutine-skills