Following the official Flask tutorial here. It is a simple blogging application with a RESTful API that allows adding/authenticating users, and CRUDing blog posts.
- Python 3.7
- SQLite 3
pip install -e .
FLASK_APP=flaskr FLASK_ENV=development flask init-dbFLASK_APP=flaskr FLASK_ENV=development flask runMake sure you have installed pytest and coverage with pip. After that, just run pytest in the terminal to run the tests :)
In order to check the coverage
coverage run -m pytest
coverage report