1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
|
CHANGELOG
=========
0.15.0
------
*2025-10-20*
* Added experimental ``--no-subtest-reports`` CLI option. This disables
subtests output unless it's a failed subtest. (`#198`_)
.. _#198: https://github.com/pytest-dev/pytest-subtests/pull/198
0.14.2
------
*2025-06-13*
* Print output "dots" for successful unittest subtests (`#164`_).
* Improved reporting in case subtests raise `pytest.xfail` (`#194`_).
.. _#164: https://github.com/pytest-dev/pytest-subtests/issues/164
.. _#194: https://github.com/pytest-dev/pytest-subtests/pull/194
0.14.1
------
*2024-12-09*
* Fix ``self.instance._outcome`` is ``None`` case in #173 (`#174`_).
.. _#174: https://github.com/pytest-dev/pytest-subtests/pull/174
0.14.0
------
*2024-12-07*
* Add support for Python 3.13.
* Dropped support for EOL Python 3.8.
* Fixed output when using ``TestCase.skipTest`` (`#169`_).
* Fixed ``pytest`` requirement to ``>=7.3`` (`#159`_).
.. _#159: https://github.com/pytest-dev/pytest-subtests/issues/159
.. _#169: https://github.com/pytest-dev/pytest-subtests/pull/169
0.13.1
------
*2024-07-16*
* Fixed bug were an extra test would execute when ``-x/--exitfirst`` was used (`#139`_).
.. _#139: https://github.com/pytest-dev/pytest-subtests/pull/139
0.13.0
------
*2024-07-07*
* Dropped support for EOL Python 3.7.
* Added support for ``-x/--exitfirst`` (`#134`_).
* Hide the traceback inside the ``SubTests.test()`` method (`#131`_).
.. _#131: https://github.com/pytest-dev/pytest-subtests/pull/131
.. _#134: https://github.com/pytest-dev/pytest-subtests/pull/134
0.12.1
------
*2024-03-07*
* Fixed compatibility with upcoming pytest ``8.1.x``. (`#125`_).
.. _#125: https://github.com/pytest-dev/pytest-subtests/issues/125
0.12.0
------
*2024-03-06*
* Python 3.12 is now officially supported (`#113`_).
* Added typing support (`#115`_).
* ``SubTests`` can be imported from ``pytest_subtests`` to type-annotate the ``subtests`` fixture.
.. _#113: https://github.com/pytest-dev/pytest-subtests/pull/113
.. _#115: https://github.com/pytest-dev/pytest-subtests/pull/115
0.11.0
------
*2023-05-15*
* Logging is displayed for failing subtests (`#92`_)
* Passing subtests no longer turn the pytest output to yellow (as if warnings have been issued) (`#86`_). Thanks to `Andrew-Brock`_ for providing the solution.
* Now the ``msg`` contents of a subtest is displayed when running pytest with ``-v`` (`#6`_).
.. _#6: https://github.com/pytest-dev/pytest-subtests/issues/6
.. _#86: https://github.com/pytest-dev/pytest-subtests/issues/86
.. _#92: https://github.com/pytest-dev/pytest-subtests/issues/87
.. _`Andrew-Brock`: https://github.com/Andrew-Brock
0.10.0
------
*2022-02-15*
* Added experimental support for suppressing subtest output dots in non-verbose mode with ``--no-subtests-shortletter`` -- this allows the native pytest column calculations to not be disrupted and minimizes unneeded output for large CI systems.
0.9.0
-----
*2022-10-28*
* Python 3.11 is officially supported.
* Dropped support for Python 3.6.
0.8.0
-----
*2022-05-26*
* Now passing subtests are shown in the test run summary at the end (for example: ``10 failed, 1 passed, 10 subtests passed in 0.10s``) (`#70`_).
.. _#70: https://github.com/pytest-dev/pytest-subtests/pull/70
0.7.0
-----
*2022-02-13*
* Fixed support for pytest 7.0, and ``pytest>=7.0`` is now required.
0.6.0
-----
*2022-01-15*
* ``pytest>=6.0`` is now required.
* Added official support for Python 3.10.
* Dropped support for Python 3.5.
* Users no longer need to configure a warnings filter for the internal ``A private pytest class or function was used`` pytest warning (`#52`_).
* **Experimental**: Use ``SUBPASS`` and ``,`` for passed subtests instead of general ``PASSED``,
``SUBFAIL`` and ``u`` for failed ones instead of ``FAILED`` (`#30`_).
.. _#30: https://github.com/pytest-dev/pytest-subtests/pull/30
.. _#52: https://github.com/pytest-dev/pytest-subtests/pull/52
0.5.0
-----
*2021-05-29*
* Added support for ``pytest.mark.xfail`` (`#40`_).
.. _#40: https://github.com/pytest-dev/pytest-subtests/pull/40
0.4.0
-----
*2020-12-13*
* Added support for ``--pdb`` (`#22`_).
.. _#22: https://github.com/pytest-dev/pytest-subtests/issues/22
0.3.2
-----
*2020-08-01*
* Fixed pytest 6.0 support.
0.3.1
-----
*2020-05-20*
* Fixed pytest 5.4 support.
0.3.0
-----
*2020-01-22*
* Dropped support for Python 3.4.
* ``subtests`` now correctly captures and displays stdout/stderr (`#18`_).
.. _#18: https://github.com/pytest-dev/pytest-subtests/issues/18
0.2.1
-----
*2019-04-04*
* Fixed verbose output reporting on Linux (`#7`_).
.. _#7: https://github.com/pytest-dev/pytest-subtests/issues/7
0.2.0
-----
*2019-04-03*
* Subtests are correctly reported with ``pytest-xdist>=1.28``.
0.1.0
-----
*2019-04-01*
* First release to PyPI.
|