Tests¶
System requirements¶
Git
Docker >= 22
Testing setup¶
In your virtual environment:
Install data fixtures:
git clone --depth=1 https://github.com/qgis/QGIS-Training-Data.git ./tests/fixtures/qgisdata python -m pip install -U gisdata -t ./tests/fixtures
Launch PostGIS container:
docker compose -f "tests/container/docker-compose.dev.yml" up -d --build
Try it out on test dataset¶
dicogis-cli inventory --verbose --input-folder tests/fixtures
Run tests suite¶
pytest