Pytest-subtests

Latest version: v0.12.1

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

Scan your dependencies

Page 1 of 3

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.

0.9.0

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

* Python 3.11 is officially supported.
* Dropped support for Python 3.6.

0.8.0

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

* 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

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.