Pytest-subtests

Latest version: v0.13.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.13.1

-------------------

* 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

-------------------

* 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

-------------------

* Fixed compatibility with upcoming pytest ``8.1.x``. (`125`_).

.. _125: https://github.com/pytest-dev/pytest-subtests/issues/125

0.12.0

-------------------

* 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

-------------------

* 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

-------------------

* 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.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.