r/androiddev • u/mpanase • Oct 31 '25
Maestro for testing
Hi all,
I'm working on an Android app that will soon become a KMM app.
My thought is to use Maestro for behavioral testing. I like that it's cross-platform, dead easy to learn, creates nice reports, and treats the app as a black box.
Just to clarify, this is one test:
- sign in
- open list of items
- open details of an item
- change details of the item
Mocking nothing, just spinning up a temporary instance of the backend with certain db dump.
The goal is to have the top of the pyramid run tests as a black box. To test all gold paths automatically before each release (so it takes a day, instead of a week of manual testing).
Haven't done this for a while, though.
Just for sanity checking, are you guys still doing this?
You guys using Maestro/Appium for it, or using Espresso, or something else?
View all comments
5
u/Resident-Purple-9761 Oct 31 '25
We use maestro but only because our app heavily uses webviews. It is super slow and unreliable.
Our team has spent a ton of time setting it up with many tests, and even though we hate it we are too invested to stop using it… also with WebViews it is hard to find good alternatives.
If you can use native testing tools, I would not recommend using it. If you are using Compose Multiplatform and have JVM target, you don’t even need an emulator to run the UI tests.