{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"Adds subTest() support to pytest, allowing unittest-style parameterized test iterations and a subtests fixture for pure pytest tests to report individual failures within a single test function.","skillfed_tags":["unittest-compat","parameterized-testing"],"use_cases":["Running the same assertion across multiple test inputs and seeing all failures in one test run.","Converting existing unittest code that uses subTest() to work under pytest without rewriting tests.","Parameterized testing where you want individual failure reporting for each iteration.","Testing collections or ranges of values where partial failures should not halt the entire test."],"what_it_does":"pytest-subtests is a pytest plugin that brings unittest's subTest() context manager to pytest, plus a new subtests fixture for pure pytest tests. It lets you run multiple iterations or parameterized checks within a single test function, reporting each failure individually rather than stopping at the first one. This is useful when you want to test many similar cases (like iterating over a list of inputs) and see all failures at once instead of fixing them one by one.\n\nThe plugin depends only on pytest and attrs, and supports Python 3.9 through 3.13. It is classified as Beta and distributed under the MIT license. However, the repository is archived and no longer maintained, so while it works with current pytest versions, there is no active development or support for future changes.","worth_installing":"Yes, if you need subTest() support in pytest and do not require ongoing maintenance. The plugin is stable and works with modern Python versions (3.9\u20133.13), has no known vulnerabilities, and low install friction. However, the abandoned status means no fixes or updates for future pytest or Python releases\u2014use it only if you accept that risk or have a fallback plan."},"id":"pytest-subtests","links":{"html":"https://skillfed.io/packages/pytest-subtests","md":"https://skillfed.io/packages/pytest-subtests.md","pypi":"https://pypi.org/project/pytest-subtests/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2025-10-20","license_spdx":null,"license_treatment":"permissive","name":"pytest-subtests","python_support":"supports_current","summary":"unittest subTest() support and subtests fixture"},"popularity":{"monthly_downloads":4875378,"position":2209,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.15.0"}
