|
12 | 12 | * New ``-rp`` and ``-rP`` reporting options give the summary and full output
|
13 | 13 | of passing tests, respectively. Thanks to `@codewarrior0`_ for the PR.
|
14 | 14 |
|
| 15 | +* ``pytest.mark.xfail`` now has a ``strict`` option which makes ``XPASS``ing |
| 16 | + tests to fail the test suite, defaulting to ``False``. There's also a |
| 17 | + ``xfail_strict`` ini option that can be used to configure it project-wise. |
| 18 | + Thanks `@rabbbit`_ for the request and `@nicoddemus`_ for the PR (`#1355`_). |
| 19 | + |
15 | 20 | * New ``ALLOW_BYTES`` doctest option strips ``b`` prefixes from byte strings
|
16 | 21 | in doctest output (similar to ``ALLOW_UNICODE``).
|
17 | 22 | Thanks `@jaraco`_ for the request and `@nicoddemus`_ for the PR (`#1287`_).
|
| 23 | + |
18 | 24 | * give a hint on KeyboardInterrupt to use the --fulltrace option to show the errors,
|
19 | 25 | this fixes `#1366`_.
|
20 | 26 | Thanks to `@hpk42`_ for the report and `@RonnyPfannschmidt`_ for the PR.
|
|
72 | 78 | .. _#1287: https://github.com/pytest-dev/pytest/pull/1287
|
73 | 79 | .. _#1226: https://github.com/pytest-dev/pytest/pull/1226
|
74 | 80 | .. _#1290: https://github.com/pytest-dev/pytest/pull/1290
|
| 81 | +.. _#1355: https://github.com/pytest-dev/pytest/pull/1355 |
75 | 82 | .. _@biern: https://github.com/biern
|
76 | 83 | .. _@MichaelAquilina: https://github.com/MichaelAquilina
|
77 | 84 | .. _@bukzor: https://github.com/bukzor
|
|
84 | 91 | .. _@Shinkenjoe: https://github.com/Shinkenjoe
|
85 | 92 | .. _@tomviner: https://github.com/tomviner
|
86 | 93 | .. _@RonnyPfannschmidt: https://github.com/RonnyPfannschmidt
|
| 94 | +.. _@rabbbit: https://github.com/rabbbit |
87 | 95 |
|
88 | 96 | 2.8.7
|
89 | 97 | -----
|
|
0 commit comments