krutikjain/android-agent-skills
Tests unitaires Android
Android Testing Unit
3 603e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.
Description
Couvre la couche de tests unitaires des applications Android : reducers, repositories, cas d'usage et ViewModels. Il favorise des tests JVM locaux rapides plutôt que des tests instrumentés, avec des garde-fous contre l'excès de tests et les identifiants codés en dur.
Voir la description originale (anglais)
This handles the unit testing layer for Android apps: reducers, repositories, use cases, and ViewModels. It pushes you toward fast, local JVM tests instead of instrumented ones, with guardrails against test bloat and hard-coded credentials. The workflow scopes risk first, then picks the narrowest verification that catches real regressions. It comes with example commands against two fixture apps (orbittasks-compose and orbittasks-xml) and knows when to hand off to UI testing skills. The anti-patterns section is honest about common mistakes like adding tests without signal or shipping benchmarks no one can reproduce. If you're writing business logic tests for Android and want opinionated guidance on what to mock and where to draw boundaries, this gives you a concrete starting point.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.