E2E Testing package for mobile apps
Project description
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.
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()
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for e2e_mobile-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaee26ba48dc10f3ce25a85a4fa0c603ecafdc228d913acc387dc73b99002563 |
|
MD5 | b58972a6072c6cdaeb81003c1cbeea8f |
|
BLAKE2b-256 | a3d6b0bc9c5701f8343c4607f23d0d0f0f45ebfe773b72dd98390e7e35a2d798 |