Is anybody running UI tests for Compose with Robolectric?
I don't have much experience with the tool, but spinning the Android env is a pain in the butt.
I've seen some articles online but I was wondering if that would be reliable and whether I will hit a wall two weeks in 😅
02/15/2023, 9:17 PM
Use them and they’re generally reliable
But we use them mostly to verify click or user interactions, not as ui validation. We use paparazzi for that.
Davide Giuseppe Farella
02/15/2023, 10:32 PM
Thank you! Have you got any E2E test with Robolectric? Like some navigation tests?
02/15/2023, 11:06 PM
No.I ensure we only test composables in isolation such as components rather than screens