Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to pytest for Python bindings tests #69

Open
domire8 opened this issue Feb 8, 2023 · 0 comments · Fixed by #70, #75 or #85
Open

Move to pytest for Python bindings tests #69

domire8 opened this issue Feb 8, 2023 · 0 comments · Fixed by #70, #75 or #85
Assignees

Comments

@domire8
Copy link
Member

domire8 commented Feb 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment