Skip to content

Move to pytest for Python bindings tests #69

@domire8

Description

@domire8

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions