- Fix pytest requirement to >=7.3 (#159).
- Fixed bug were an extra test would execute when
-x/--exitfirst
was used (#139).
- Dropped support for EOL Python 3.7.
- Added support for
-x/--exitfirst
(#134). - Hide the traceback inside the
SubTests.test()
method (#131).
- Fixed compatibility with upcoming pytest
8.1.x
. (#125).
- Python 3.12 is now officially supported (#113).
- Added typing support (#115).
SubTests
can be imported frompytest_subtests
to type-annotate thesubtests
fixture.
- 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).
- 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.
- Python 3.11 is officially supported.
- Dropped support for Python 3.6.
- 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).
- Fixed support for pytest 7.0, and
pytest>=7.0
is now required.
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 generalPASSED
,SUBFAIL
andu
for failed ones instead ofFAILED
(#30).
- Added support for
pytest.mark.xfail
(#40).
- Added support for
--pdb
(#22).
- Fixed pytest 6.0 support.
- Fixed pytest 5.4 support.
- Dropped support for Python 3.4.
subtests
now correctly captures and displays stdout/stderr (#18).
- Fixed verbose output reporting on Linux (#7).
- Subtests are correctly reported with
pytest-xdist>=1.28
.
- First release to PyPI.