{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"}],"enrichment":{"capability":"A pytest plugin that collects and reports multiple assertion failures within a single test, rather than stopping at the first failure.","skillfed_tags":["test-reporting","assertion-collection"],"use_cases":["Batch-checking multiple related conditions in a parametrized test without stopping at the first failure","Validating all fields of a complex object in a single test run to see all validation errors at once","Running data-driven tests where you want to collect all assertion failures across multiple parameter sets before stopping"],"what_it_does":"pytest-assume is a pytest plugin that changes how test failures are reported. Instead of stopping at the first failed assertion, it collects all assumption failures in a test and reports them together at the end. This is useful when you want to see all the ways a test failed in one run, rather than fixing one assertion and re-running to find the next.\n\nThe plugin provides a `pytest.assume()` function that can wrap assertions or be used as a context manager around plain assertions. It depends on pytest and six, and has low install friction. However, the project has been abandoned since mid-2023 with no recent maintenance, so compatibility with the latest pytest versions is not guaranteed.","worth_installing":"Yes, if you need to collect multiple failures per test and are comfortable with an abandoned project. The feature is straightforward and has no known vulnerabilities, but verify compatibility with your pytest version before relying on it in production. Consider maintaining a fork if you need ongoing support."},"id":"pytest-assume","links":{"html":"https://skillfed.io/packages/pytest-assume","md":"https://skillfed.io/packages/pytest-assume.md","pypi":"https://pypi.org/project/pytest-assume/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-06-24","license_spdx":null,"license_treatment":"permissive","name":"pytest-assume","python_support":"unspecified","summary":"A pytest plugin that allows multiple failures per test"},"popularity":{"monthly_downloads":789545,"position":5054,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.3"}
