JagrajAulakh / COMP-4110-microblog

MIT License
0 stars 0 forks source link

Converted tests to use pytest instead of unittest #74

Closed JagrajAulakh closed 1 year ago

JagrajAulakh commented 1 year ago

Using pytest for our unit tests. Old tests were written using unittest.

When making new unit tests, add them to the tests/ directory with with prefix test_. For example, if I wanted to add tests for the Post model, I would make the file tests/test_post_model.py