2024-12-09
- Fix
self.instance._outcome
isNone
case in #173 (#174).
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).
2024-07-16
- Fixed bug were an extra test would execute when
-x/--exitfirst
was used (#139).
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).
2024-03-07
- Fixed compatibility with upcoming pytest
8.1.x
. (#125).
2024-03-06
- Python 3.12 is now officially supported (#113).
- Added typing support (#115).
SubTests
can be imported frompytest_subtests
to type-annotate thesubtests
fixture.
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).
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.
2022-10-28
- Python 3.11 is officially supported.
- Dropped support for Python 3.6.
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).
2022-02-13
- Fixed support for pytest 7.0, and
pytest>=7.0
is now required.
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 generalPASSED
,SUBFAIL
andu
for failed ones instead ofFAILED
(#30).
2021-05-29
- Added support for
pytest.mark.xfail
(#40).
2020-12-13
- Added support for
--pdb
(#22).
2020-08-01
- Fixed pytest 6.0 support.
2020-05-20
- Fixed pytest 5.4 support.
2020-01-22
- Dropped support for Python 3.4.
subtests
now correctly captures and displays stdout/stderr (#18).
2019-04-04
- Fixed verbose output reporting on Linux (#7).
2019-04-03
- Subtests are correctly reported with
pytest-xdist>=1.28
.
2019-04-01
- First release to PyPI.