Compose & Espresso UI Testing

TESTING › UI

Writing instrumented UI tests for Compose semantics and View-based screens with Espresso.

UI testing questions probe whether you can write reliable, non-flaky instrumented tests for both Compose and legacy View screens. Interviewers check that you understand the Compose semantics tree, finders/actions/assertions, and Espresso's onView/perform/check pattern. A recurring theme is automatic synchronization and idling resources, since flaky tests are a top real-world pain point.

What this covers

Study this topic

Further reading