A test project for Todoist application, sporting both back-end and front-end actions.
Several dependencies will need to be installed prior to running the test cases.
-
Python 3, this particular project was written on the latest version (3.7.2 as of committing this README).
-
Appium-Python-Client, easiest to be installed from PyPi. This will also install node.js and other Appium client dependencies.
pip install Appium-Python-Client
-
pytest and unittest2 are used for setting up the fixtures and assertions.
pip install unittest2 pip install pytest
-
Todoist Python library for their implementation of the API calls.
pip install todoist-python
-
Either a physical connected Android device (enable USB debugging) or an Android emulator. The tests were written using the latter running the version 7.0.
You can run 3 tests using pytest
. Note that both Appium web server and the Android device should be running for the tests.
$ pytest