$npx skillfedfor your agent

pytest-assume

A pytest plugin that allows multiple failures per test

With conditionsPyPI TestingReleased Jun 2021789.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_assume-2.4.3-py3-none-any.whl
v2.4.3 · released 2021-06-24 · 2 runtime deps: pytest, six

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with only pytest and six as runtime dependencies.
  • However, the project is abandoned—last release was 2021-06-24 and last commit 2023-05-09, with no active maintenance.
  • Use only if the feature set meets your needs and you're comfortable maintaining a fork if issues arise.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

last release 2021-06-24 (1877 days) · last repo commit 2023-05-09 · 69 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 789,545 downloads/mo, #5,054 on PyPI

Verify before relying

pip install pytest-assume

import pytest

def test_multiple_checks():
    pytest.assume(1 == 1)
    pytest.assume(2 == 2)
    pytest.assume(3 == 4)  # fails but test continues
  • Compatibility with recent pytest versions (latest release predates current pytest major versions)
  • Whether the plugin works correctly with modern Python versions and pytest fixtures
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

pytest-assume on PyPI

Before you install

Low install friction with only pytest and six as runtime dependencies. However, the project is abandoned—last release was 2021-06-24 and last commit 2023-05-09, with no active maintenance. Use only if the feature set meets your needs and you're comfortable maintaining a fork if issues arise.

License in practice

MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.

Quickstart

pip install pytest-assume

import pytest

def test_multiple_checks():
    pytest.assume(1 == 1)
    pytest.assume(2 == 2)
    pytest.assume(3 == 4)  # fails but test continues

Verify before relying

  • Compatibility with recent pytest versions (latest release predates current pytest major versions)
  • Whether the plugin works correctly with modern Python versions and pytest fixtures

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pytestsix
MaintenanceAbandoned 1,877 days since the last release
Last repo commit
First released
Downloads789,545 / month, #5,054 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Testing

Evidence: pytest_assume-2.4.3-py3-none-any.whl

Tags

Capabilities
pytest multiple failures per testpytest collect all assertionspytest assume pluginpytest continue after failurepytest batch assertions
Topics
test-reportingassertion-collection
PyPI keywords
testingpytestassert

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytest multiple failures per test”

  • pytest-assumeA pytest plugin that collects and reports multiple assertion failures…
  • pytest-checkA pytest plugin that allows tests to continue running and collect…
  • pytest-md-reportA pytest plugin that generates test outcome reports formatted as…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also pytest-check · pytest-deepassert · pytest-reraise · re-assert · pytest-subtests · softest · delayed-assert · asserts · pytest-cache · pytest-retry