--- id: pytest-ignore-test-results version: "0.3.0" license: unclear license_treatment: permissive maintenance: active --- # pytest-ignore-test-results — A pytest plugin to ignore test results. License: permissive · Maintenance: active · Downloads: 175.9K/mo ## What it is and what it does This pytest plugin lets you run tests normally but selectively suppress their results from the final report. Instead of skipping tests or marking them as expected failures, you execute them fully and then choose which ones to ignore—useful when you have known failures you want to track but not block your build, or when you need to suppress specific test outcomes without modifying test code. You specify which tests to ignore via command-line patterns (exact names or wildcards) or by loading patterns from text files. The plugin also gives you control over exit codes: you can return code 6 when all failures are ignored, or suppress "no tests collected" errors entirely. It supports pytest's custom test case naming through a hook, making it flexible for complex test hierarchies. Use it for: - Suppress known flaky tests in CI while still running them and tracking their status. - Ignore platform-specific test failures without modifying the test suite itself. - Load a dynamic ignore list from a file to manage which tests should not block builds. - Return custom exit codes to signal different failure scenarios to downstream tooling. - Suppress 'no tests collected' errors when running against directories that may be empty. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A pytest plugin that selectively ignores test case results while still executing the tests, allowing you to suppress failures from specific tests by name or pattern. Yes, if you need to selectively suppress test results without modifying test code or skipping tests outright. The plugin is actively maintained, has no known vulnerabilities, and adds minimal install friction. It's most valuable in CI/CD pipelines where you want to run all tests but control which ones block the build. ## Install pip install pytest-ignore-test-results uv add pytest-ignore-test-results poetry add pytest-ignore-test-results ## Installing pytest-ignore-test-results Before you install: Low friction: pure Python wheel with only pytest as a runtime dependency. Actively maintained with recent commits and marked production-stable. License in practice: Licensed under Apache Software License (permissive), so you can use, modify, and redistribute freely in most contexts. Quickstart: pip install pytest-ignore-test-results pytest --ignore-result-cases "test_feature_1" "test_feature_*" Verify before relying: - Whether ignoring test results affects CI/CD pipeline behavior beyond exit codes in practice. - How the plugin interacts with pytest plugins that also modify test result reporting. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 175.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pytest ignore test results, skip test failures selectively, pytest test result suppression, ignore failing tests by pattern, pytest custom exit codes, pytest test case filtering, pytest-plugin, test-filtering, ci-cd [View on SkillFed](https://skillfed.io/packages/pytest-ignore-test-results) · [View on PyPI](https://pypi.org/project/pytest-ignore-test-results/)