This repository tracks a Proof of Concept (PoC) where we use code inspection to enforce granular unit test coverage for a Python software application that may grow in size and complexity over time.
A blog post that explains this concept in more detail can be found here.
Create a new Python virtual environment:
python3 -m venv venvActivate the new Python virtual environment:
source venv/bin/activateInstall dependencies through the requirements.txt file:
pip3 install -r requirements.txtFinally, run unit tests and experiment with the code to demonstrate how this code works.
python3 -m pytest