r/androiddev • • 13h ago

Rayo: I made a new E2E test suite, open-source with integrated mocking and more

0 Upvotes

Hey android dev, I made rayo and I think is useful enough that warrants sharing it.

I love Maestro but from my experience at work, e2e are much more than just running some steps. You need to have fast execution, easy install of the testing tooling, clear reporting of the e2e errors and if you want to mock them everything get complicated really fast.

That's why I've been thinking of creating a tool that covers these pain points and more, a CLI tool that is a single binary.

- Is fast: it detects changes smartly (on average my test went 2x as fast minimum in rayo vs maestro)

- Runs most Maestro flows as is (so basically no migration changes)

- Backend, GPS and camera mocking built in (useful for maps, and stateful apps)

- Records mocks from your real API (you no longer need a external tool)

- Clear failure reports: the step, the cause, and the screen (it will make screenshot, create state dumps, etc so you can check it later, very useful on the CI)

- Retries, flaky detection, JUnit reports (even my perfect e2e test failed so I just gave up and added retries and good reporting for them)

- One small binary, only needs adb as dependency (this is my favourite fact: only one binary, so no need to setup anything, it just works)

Check please, any feedback is welcomed :)

Repo: https://github.com/nanihadesuka/rayo

Docs: https://nanihadesuka.github.io/rayo/


r/androiddev • • 18h ago

Question Does anyone use browser-based emulators for sharing builds?

0 Upvotes

Has anyone used something like Appetize to share builds with designers or PMs? Distributing test builds with PR changes efficiently has always been an issue for us.