compose-ui-testing-patterns
CommunityWrite stable, meaningful Jetpack Compose UI tests
Software Engineering#flaky tests#ui testing#jetpack compose#screenshot testing#focus navigation#semantics assertions#mutableinteractionsource
Authorsoygabimoreno
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid flaky, shallow, and overly complex Jetpack Compose UI tests by teaching you how to test the real UI contract with deterministic patterns.
Core Features & Use Cases
- Test the smallest UI contract by preferring plain state-driven Compose tests over full app integration when possible.
- Use semantics-first assertions for behavior (enabled/disabled, presence/absence, selected/focused/toggled content) instead of brittle UI inspection.
- Control interaction state deterministically by injecting a
MutableInteractionSourceand emitting hover/press/focus events rather than relying on pointer simulation. - Choose the right test type for text/callback wiring, screenshot-worthy visual layout, and state-holder vs wiring smoke coverage.
Quick Start
Use the compose-ui-testing-patterns skill to review your Compose UI tests and refactor them toward semantics-based, state-driven assertions with deterministic interaction handling.
Dependency Matrix
Required Modules
None requiredComponents
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: compose-ui-testing-patterns Download link: https://github.com/soygabimoreno/Los-ANDROIDES/archive/main.zip#compose-ui-testing-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.