1 - unit testing branch : https://github.com/dkmostafa/fast-api-sample/tree/unit-testing-sample
1 - python3 -m venv env -- create a python enviroment
2 - source env/bin/activate
3 - pip install -r requirments
4 - uvicorn main:app --reload
Flask App is now running
1 - alambic init
2 - alembic upgrade head
pytest
pytest --cov