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
Currently the project uses python native unittest to run tests. I do see some issues with the current implementation and suggest to migrate to pytest. There are several reasons:
Other metabrainz projects seem to use pytest, so it helps using the same tech everywhere
We need parametrized tests. This isn't natively supported by unittest
Our current workaround is to manually build suits to pass test data as parameter
This way we disable automatic discovery, which is problematic because new tests need to be manually disabled (might result in false positives!)
Another workaround would be using a unittest extension, and if we do this we can use pytest right away
The text was updated successfully, but these errors were encountered:
Currently the project uses python native
unittest
to run tests. I do see some issues with the current implementation and suggest to migrate to pytest. There are several reasons:The text was updated successfully, but these errors were encountered: