Le projet est hébergé sur GitHub
Visiter GitHub{: .md-button .md-button--primary }
Les tests unitaires sont en cours.
pip install -r requirements/dev.txt
flake8
La variable d'environnement CI=true
permet d'éviter certaines QMessageBox.
- Run tests in Docker
make start_tests
make run_tests
# Run a custom pattern
cd .docker/ && ./exec_tests.sh test_*.py
make stop_tests
# All in one, but slower
make tests
- In your QGIS Desktop itself
- Open the QGIS console
from qgis.utils import plugins
plugins['cadastre'].run_tests()
# Custom pattern
plugins['cadastre'].run_tests('test_*.py')
- In your IDE, with linked QGIS library
- Setup your
QGIS_PREFIX_PATH
etc - Right-click on a test and launch it
- Setup your
La documentation utilise MkDocs avec Material :
pip install -r requirements/doc.txt
mkdocs serve