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 venv
Activate the new Python virtual environment:
source venv/bin/activate
Install dependencies through the requirements.txt
file:
pip3 install -r requirements.txt
Finally, run unit tests and experiment with the code to demonstrate how this code works.
python3 -m pytest