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.
from e2e_ext.core.tester 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!
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.
Kindly check out the related docs on readthedocs:
Kindly check out the related docs on readthedocs:
Refer to the contributing guidelines for how to contribute to this project.