issues
search
HealthDataInsight
/
way_of_working-for-hdi
MIT License
0
stars
0
forks
source link
Pytest workflow
#1
Open
andrewcboardman
opened
4 months ago
andrewcboardman
commented
4 months ago
Context and Problem Statement
We need to test Python packages we are writing.
Decision Drivers
flexibility (allowing unit and integration tests)
convenience (allowing debugging and integration with GH Actions)
Considered Options
unittest (in Python standard library)
pytest (commonly used package with more testing features including debugging and GH Actions integration)
Decision
We should use pytest as this will allow us to fix bugs easily and run tests on github.
Further questions
For packages which need to to be flexible across multiple environments, we should think about using tox to test in different environments.
Context and Problem Statement
We need to test Python packages we are writing.
Decision Drivers
Considered Options
Decision
Further questions