createComposeRule & Finders
Set up a Compose test and locate nodes.
Why Test Your UI?
Manual testing is slow and easy to forget. A UI test launches your Composable and checks it automatically, catching breakages before your users ever do. 🧪
Meet the Compose Test Rule
Every Compose test starts with a test rule. It hosts your Composables in a controlled environment so you can render, inspect, and interact with them from test code.
All lessons in this course
- createComposeRule & Finders
- Assertions & Performing Actions
- Semantics & Test Tags
- Testing ViewModels & Flows