Skip to main content

E2E Testing package for mobile apps

Project description

https://img.shields.io/pypi/v/e2e-mobile.svg https://img.shields.io/pypi/l/e2e-mobile.svg

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.

_static/recording.gif

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

e2e_mobile-0.0.3rc7999708426-py3-none-any.whl (22.2 kB view details)

Uploaded Python 3

File details

Details for the file e2e_mobile-0.0.3rc7999708426-py3-none-any.whl.

File metadata

File hashes

Hashes for e2e_mobile-0.0.3rc7999708426-py3-none-any.whl
Algorithm Hash digest
SHA256 0530dfc5cf47dcf234b30c81e8c4b8658644fc274e843a0a735581142fe5dd93
MD5 97064b5f880f326b54ae75cf128fc25f
BLAKE2b-256 3a443444a8c6fc0c16c3c8873216e09eb4ba59be5e10994c2e5d945198e2d296

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page