{"library":"pytest-subtests","type":"library","category":null,"description":"pytest-subtests is a pytest plugin that provides support for the `unittest.TestCase.subTest()` context manager, allowing developers to write test functions that run multiple distinct checks while reporting individual failures. It introduces a `subtests` fixture for this purpose. The current version is 0.15.0, and it follows the pytest ecosystem's release cadence, often updating to ensure compatibility with new pytest versions.","language":"python","status":"active","version":"0.15.0","tags":["pytest","testing","subtests","plugin","unittest"],"install":[{"cmd":"pip install pytest-subtests","imports":["def test_example(subtests): ...","from pytest_subtests import SubTests"]}],"homepage":null,"github":"https://github.com/pytest-dev/pytest-subtests","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pytest-subtests/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":50,"avg_install_s":2.8,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pytest-subtests/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}