Closed nknaian closed 3 years ago
So looks like there's a nice way of making units tests for flask stuff' https://flask.palletsprojects.com/en/1.1.x/testing/
I'm going to use unittest and possibly the Flask-Testing package for the unit testing. Miguel has not posted an updated tutorial on unit testing, but at this github page for the tutorial he is using unittest. I'm going to follow that for reference: https://github.com/miguelgrinberg/microblog/tree/v0.23
I created #40, #41, #42 and #43 based on research done on this ticket.
Currently the only testing is flake8 (run via github tasks).
We should look into adding some more testing to make this site robust.