{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"A pytest plugin that allows tests to continue running and collect multiple assertion failures per test, rather than stopping at the first failed assert.","skillfed_tags":["pytest-plugin","test-reporting"],"use_cases":["Validate multiple properties of an HTTP response (status code, headers, body content) without stopping at the first failure.","Check all fields in a parsed data structure or API response in a single test run.","Run a loop of similar checks (e.g., validating multiple items) and collect all failures before reporting.","Test configuration or setup code where you want to verify all invariants hold, not just the first one.","Regression testing where you want a comprehensive view of what broke across multiple assertions."],"what_it_does":"pytest-check is a pytest plugin that changes how assertion failures are handled within a test function. Normally, a test stops at the first failed assertion. This plugin allows you to wrap assertions in a `with check:` block (or use its helper functions like `check.equal()`) so that failures are recorded but execution continues, letting you see all the problems in one test run instead of fixing them one at a time.\n\nThe plugin provides both a context-manager interface and a set of built-in validation functions covering common comparisons (equality, identity, containment, type checks, numeric comparisons, NaN checks, and approximate equality). You can also decorate your own helper functions with `@check.check_func` to turn them into non-blocking checks, or use `check.fail()` for custom failure reporting. It includes a `check.raises()` context manager for non-blocking exception testing.","worth_installing":"Yes. The plugin solves a real testing problem\u2014seeing all failures at once rather than fixing them iteratively\u2014with low install friction, active maintenance, no known vulnerabilities, and a permissive MIT license. It integrates cleanly with pytest and requires only common dependencies. Suitable for any test suite where comprehensive failure reporting per test is valuable."},"id":"pytest-check","links":{"html":"https://skillfed.io/packages/pytest-check","md":"https://skillfed.io/packages/pytest-check.md","pypi":"https://pypi.org/project/pytest-check/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-01","license_spdx":null,"license_treatment":"unclear","name":"pytest-check","python_support":"supports_current","summary":"A pytest plugin that allows multiple failures per test."},"popularity":{"monthly_downloads":4041371,"position":2392,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.9.1"}
