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
Even though there is nothing wrong with unittest in Python, pytest offers more flexibility and in my opinion a somewhat easier and more intuitive API. I propose to use pytest to run our tests from now on. This doesn't require a refactor of existing tests (which would be a big effort for a small benefit) because pytest can run unittest-based tests too: https://docs.pytest.org/en/7.1.x/how-to/unittest.html
This change will enable us to write tests faster in the future
The text was updated successfully, but these errors were encountered:
Even though there is nothing wrong with
unittest
in Python,pytest
offers more flexibility and in my opinion a somewhat easier and more intuitive API. I propose to usepytest
to run our tests from now on. This doesn't require a refactor of existing tests (which would be a big effort for a small benefit) becausepytest
can rununittest
-based tests too:https://docs.pytest.org/en/7.1.x/how-to/unittest.html
This change will enable us to write tests faster in the future
The text was updated successfully, but these errors were encountered: