unittests: if we want to have them i would stick with pytest
integration tests: this is basicly what we are doing right now anyways and we could save a lot of time and also exclude regressions. I don't have a good overview of integration testing frameworks, but https://github.com/hitchdev/hitchstory seems nice (tests can rewrite themselves based on program output, …) and i also found https://github.com/anfema/integrate
i would add a pre-commit file with ruff and some basic fixes
Can we switch from pipenv to pdm?
Pdm is very easy to use and can do everything: https://alpopkes.com/posts/python/packaging_tools/ It is also faster than pipenv: https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4