GithubHelp home page GithubHelp logo

coffmark / maestro-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mobile-dev-inc/maestro-docs

0.0 0.0 0.0 112.69 MB

Documentation repository for maestro.mobile.dev

Home Page: https://maestro.mobile.dev

License: Apache License 2.0

maestro-docs's Introduction

description
Maestro is the simplest and most effective mobile UI testing framework.

What is Maestro?

{% embed url="https://vimeo.com/767721667/d972c5f08e" %}

Why Maestro?

Maestro is built on learnings from its predecessors (Appium, Espresso, UIAutomator, XCTest) and allows you to easily define and test your Flows.

{% hint style="info" %} What are Flows? Think of Flows as parts of the user journey in your app. Login, Checkout and Add to Cart are three examples of possible Flows that can be defined and tested using Maestro. {% endhint %}

  • 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.

Examples

Twitter

Simple Examples

{% tabs %} {% tab title="Android" %}

# flow_contacts_android.yaml

appId: com.android.contacts
---
- launchApp
- tapOn: "Create new contact"
- tapOn: "First Name"
- inputText: "John"
- tapOn: "Last Name"
- inputText: "Snow"
- tapOn: "Save"

{% endtab %}

{% tab title="iOS" %}

# flow_contacts_ios.yaml

appId: com.apple.MobileAddressBook
---
- launchApp
- tapOn: "John Appleseed"
- tapOn: "Edit"
- tapOn: "Add phone"
- inputText: "123123"
- tapOn: "Done"

{% endtab %} {% endtabs %}

Platform Support

PlatformSupport
iOS
Android
ReactNative
Flutter

Resources

Get Started

Get started by installing the Maestro CLI:

maestro-docs's People

Contributors

axelniklasson avatar arthursav avatar igorsmotto avatar berikv avatar meatnordrink avatar felipevolpone avatar simon-gilmurray avatar fantpmas avatar arildojr7 avatar remotenode avatar dmitry-zaitsev avatar kojofosu avatar larryng avatar matteo-hertel avatar ubiratansoares avatar b1ackturtle avatar gitbook-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.