Open rodrigogiraoserrao opened 1 year ago
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:
After talking to @darrenburns this might be a bug/design decision of syrupy.
syrupy
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: