We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When a snapshot test is marked as xfail, pytest understands the test was expected to fail but the framework still reports a failing test.
What I expected:
This makes it look like the tests failed:
But pytest is perfectly happy with an xfail:
The text was updated successfully, but these errors were encountered:
After talking to @darrenburns this might be a bug/design decision of syrupy.
syrupy
Sorry, something went wrong.
xfail
Don't use xfail because of #2282.
b5a11ae
Revert "Don't use xfail because of #2282."
5d61678
This reverts commit b5a11ae.
Looks like this is fixed upstream.
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
No branches or pull requests
When a snapshot test is marked as xfail, pytest understands the test was expected to fail but the framework still reports a failing test.
What I expected:
This makes it look like the tests failed:
But pytest is perfectly happy with an xfail:
The text was updated successfully, but these errors were encountered: