Coder Social home page Coder Social logo

trinhngocthuyen / e2e-mobile Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 0.0 5.96 MB

E2E testing framework for mobile apps

Home Page: https://e2e-mobile.readthedocs.io

License: MIT License

Makefile 2.30% Python 97.70%
appium e2e e2e-testing end-to-end end-to-end-testing python mobile testing

e2e-mobile's Introduction

End-to-end Testing Package for Mobile Apps

image

image

e2e-mobile is a Python package providing convenient setup for end-to-end testing in mobile apps. This package is the combined magic of Appium and Pytest. It helps us:

  • Write tests once, for both platforms (iOS & Android).
  • Write reusable & readable tests that can scale to support complex use cases.

image

What does a test with this framework look like?

from e2e import Tester

def test_tutorial(tester: Tester):
    tester.ui.home.skip_tutorial()
    tester.relaunch_app()
    tester.ui.home.must_not_see_tutorial()

def test_settings(tester: Tester):
    tester.ui.home.skip_tutorial()
    tester.ui.home.go_to_settings()
    tester.ui.settings.swipe('up')
    tester.ui.settings.element('About the app').must_exist()
    tester.ui.settings.swipe('down')
    tester.ui.settings.close()

Get started with e2e-mobile now!

Installation

e2e-mobile is available on PyPI (Python Package Index). You can install with with pip:

$ pip install --upgrade e2e-mobile

First time hearing pip? Check this FAQ.

Usage

Kindly check out the related docs on readthedocs:

Documentation

Kindly check out the related docs on readthedocs:

Contributing

Refer to the contributing guidelines for how to contribute to this project.

e2e-mobile's People

Contributors

github-actions[bot] avatar trinhngocthuyen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.