Setup
- create a virtual environment
python -m venv .venv
- install requirements + extras
pip install -e .[dev,testing]
Testing
-
Create new test (file name test_*.py) under /tests
-
Run pytest in the project root dir
tox -e test
- To run integration test with credentials, run
tox -e test -- --wiki_domain "<domain>" --wiki_username "<login>" --wiki_password "<password>"