-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add alternative for pytester
fixture.
#7
Comments
Thanks for the issue, in concrete terms, what do you need from me here? |
are you open for such a feature in this package (maybe implemented by someone else)? |
I think so, but I'm a bit lost on what it really does. If it doesn't add massive complexity, or get in the way when not using it, happy to review a PR. |
this fixture run test provides a string and pares output to check if it runs as expected.
I will try to do this. |
Sounds good. Happy to review. |
This plugin is really nice and really improves the readability of the output. But it breaks the
pytester
fixture https://docs.pytest.org/en/7.2.x/reference/reference.html#std-fixture-pytesterThe
pytester
is based on parsing pytest output to determine number of failed/passed/etc.We use the older version (testdir) in napari to validate if the fixture works correctly.
https://github.com/napari/napari/blob/f5fcb7d2e3bb32950de227df61f7bc69846a6aa4/napari/_tests/test_pytest_plugin.py
So we cannot simply add pytest-pretty to our workflow.
The text was updated successfully, but these errors were encountered: