./devel/py-test-subtests, Unittest subTest() support and subtests fixture

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14.1, Package name: py312-test-subtests-0.14.1, Maintainer: pkgsrc-users

This pytest plugin was generated with Cookiecutter along with
@hackebrot's cookiecutter-pytest-plugin template.

* Adds support for TestCase.subTest.
* New subtests fixture, providing similar functionality for pure
pytest tests.


Master sites:

Filesize: 17.219 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-16 06:56:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-subtests: updated to 0.14.1

0.14.1

* Fix ``self.instance._outcome`` is ``None`` case

0.14.0

* Add support for Python 3.13.
* Dropped support for EOL Python 3.8.
* Fixed output when using ``TestCase.skipTest``
* Fixed ``pytest`` requirement to ``>=7.3``
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-07-17 05:40:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-subtests: updated to 0.13.1

0.13.1 (2024-07-16)

* Fixed bug were an extra test would execute when ``-x/--exitfirst`` was used
   2024-07-15 22:20:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-subtests: updated to 0.13.0

0.13.0 (2024-07-07)

* Dropped support for EOL Python 3.7
* Added support for ``-x/--exitfirst``
* Hide the traceback inside the ``SubTests.test()`` method
   2024-03-09 07:57:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-subtests: updated to 0.12.1

0.12.1 (2024-03-07)

* Fixed compatibility with upcoming pytest ``8.1.x``.
   2024-03-07 11:05:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-subtests: updated to 0.12.0

0.12.0 (2024-03-06)

* Python 3.12 is now officially supported.
* Added typing support.
* ``SubTests`` can be imported from ``pytest_subtests`` to type-annotate the \ 
``subtests`` fixture.
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-07-17 17:09:37 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-subtests: updated to 0.11.0

0.11.0 (2023-05-15)
-------------------
* Logging is displayed for failing subtests
* Passing subtests no longer turn the pytest output to yellow (as if warnings \ 
have been issued)
* Now the ``msg`` contents of a subtest is displayed when running pytest with ``-v``