Sitemap

Member-only story

Maestro, Android Modern UI Testing

1 min readOct 12, 2023
Maestro, Android Modern UI Testing

Maestro is the simplest and most effective mobile UI testing framework. Maestro is built on learnings from its predecessors (Appium, Espresso, UIAutomator, XCTest) and allows you to easily define and test your Flows.

  • Built-in tolerance to flakiness. UI elements will not always be where you expect them, screen tap will not always go through, etc. Maestro embraces the instability of mobile applications and devices and tries to counter it.
  • Built-in tolerance to delays. No need to pepper your tests with sleep() calls. Maestro knows that it might take time to load the content (i.e. over the network) and automatically waits for it (but no longer than required).
  • Blazingly fast iteration. Tests are interpreted, no need to compile anything. Maestro is able to continuously monitor your test files and rerun them as they change.
  • Declarative yet powerful syntax. Define your tests in a yaml file.
  • Simple setup. Maestro is a single binary that works anywhere.

In this video, I’ve asked Zhanibek to join me and share his experience using this framework.

Hope you enjoy and do not forget to follow me on Medium and YouTube to get notified when there is a new topic.

--

--

Mohsen Mirhoseini
Mohsen Mirhoseini

Written by Mohsen Mirhoseini

As an Android developer and tech enthusiast, I publish contents about Android app development. Follow me on Medium and YouTube as "Android Developer Tip".

No responses yet