Update changelog/12231.feature.rst
Co-authored-by: Bruno Oliveira <bruno@soliv.dev>
This commit is contained in:
parent
a25f4fb0fe
commit
93f8ef6d46
|
@ -6,8 +6,6 @@ Added `--xfail-tb` flag, which turns on traceback output for XFAIL results.
|
||||||
|
|
||||||
Some history:
|
Some history:
|
||||||
|
|
||||||
* This is a behavior break, but brings default behavior back to pre-8.0.0 behavior.
|
With pytest 8.0, `-rx` or `-ra` would not only turn on summary reports for xfail, but also report the tracebacks for xfail results. This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.
|
||||||
* With this change, default `-rx`/ `-ra` behavior is identical to pre-8.0 with respect to xfail tracebacks.
|
|
||||||
* With pytest 8.0, `-rx` or `-ra` would not only turn on summary reports for xfail, but also report the tracebacks for xfail results.
|
This change detaches xfail tracebacks from `-rx`, and now we turn on xfail tracebacks with `--xfail-tb`. With this, the default `-rx`/ `-ra` behavior is identical to pre-8.0 with respect to xfail tracebacks. While this is a behavior change, it brings default behavior back to pre-8.0.0 behavior, which ultimately was considered the better course of action.
|
||||||
* This caused issues with some projects that utilize xfail, but don't want to see all of the xfail tracebacks.
|
|
||||||
* This change detaches xfail tracebacks from `-rx`, and now we turn on xfail tracebacks with `--xfail-tb`.
|
|
||||||
|
|
Loading…
Reference in New Issue