compose-ui-testing-hybrid-espresso

Installation
SKILL.md

Compose UI Testing — Hybrid Espresso Interop

Source: https://developer.android.com/develop/ui/compose/testing/interoperability, https://developer.android.com/develop/ui/compose/testing

Purpose

In hybrid apps (Compose + traditional Android Views), you can freely mix Espresso.onView() with ComposeTestRule.onNode*() in the same test — no special glue needed. This skill covers the rules, patterns, and pitfalls for testing mixed View/Compose UIs, including createAndroidComposeRule, createEmptyComposeRule, and UiAutomator integration via testTagsAsResourceId.

When to Use

Installs
1
First Seen
Jun 21, 2026