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_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()
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.
Release files for e2e-mobile 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| e2e_mobile-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / e2e_mobile-0.1.4-py3-none-any.whl
| Download URL | e2e_mobile-0.1.4-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fdc5371feeee92dc0d769917086ee8b6b9a2d0c58e3df20376daf84a04499dc2
|
|
BLAKE2b-256 checksum How to use checksums |
38b3e291edae47a512e8e9f3bb4969f4937ab921c1d97cc2e478e2a3e5f2a0ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.9.21
|