You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to figure out how we want to structure our Python unit tests, and which framework we should use. unittest is part of the Python standard library, but is more barebones. pytest and nose are some popular alternatives which are a bit more full-featured.
The text was updated successfully, but these errors were encountered:
I've only worked with pytest so I may be biased, but I think that we should use pytest with it being more fully featured and preferred over nose due to more extensive documentation. It also looks nicer imo, with the way it outputs false assertions 😎
I wrote some tests for #30 in pytest. At the moment the file is in the same folder as the backend, but once we decide on this we can move the test files into their own folder if we decide that's necessary
We need to figure out how we want to structure our Python unit tests, and which framework we should use. unittest is part of the Python standard library, but is more barebones. pytest and nose are some popular alternatives which are a bit more full-featured.
The text was updated successfully, but these errors were encountered: