{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/4"}],"enrichment":{"capability":"A pytest plugin that organizes tests into unit, integration, and slow integration tiers, running them sequentially and skipping later tiers if earlier ones fail.","skillfed_tags":["test-organization","abandoned-but-stable"],"use_cases":["Separate unit tests from integration tests in a CI/CD pipeline to fail fast on logic errors before running expensive external-service tests.","Mark database or API tests as slow integration tests to run them last, only when quick tests pass.","Disable coverage collection for integration tests to keep coverage reports focused on unit-test coverage.","Organize a large test suite where some tests require external services or take significant time to run."],"what_it_does":"pytest-integration is a pytest plugin that adds markers and command-line options to organize tests into three tiers: unit tests, integration tests, and slow integration tests. It enforces a sequential execution order\u2014unit tests run first, then integration tests only if all units pass, then slow integration tests only if integration tests pass. This prevents wasting time on expensive integration tests when the codebase has basic failures. If pytest-cov is installed, the plugin automatically disables coverage reporting for integration tests, since unit tests are expected to provide full coverage.\n\nThe plugin adds two markers (`@pytest.mark.integration_test` and `@pytest.mark.slow_integration_test`) and three command-line flags (`--with-integration`, `--with-slow-integration`, and `--integration-cover`) to control which tiers run and whether integration tests contribute to coverage. It has no runtime dependencies beyond pytest itself, making it lightweight to add to an existing test suite.","worth_installing":"Yes, if you have an existing pytest suite and want to organize tests by tier with minimal setup. No, if you need active maintenance or support for the latest pytest features\u2014the package is abandoned and has not been updated since 2023. Consider it stable for simple use cases but risky for projects that upgrade pytest frequently or need ongoing compatibility fixes."},"id":"pytest-integration","links":{"html":"https://skillfed.io/packages/pytest-integration","md":"https://skillfed.io/packages/pytest-integration.md","pypi":"https://pypi.org/project/pytest-integration/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-11-17","license_spdx":null,"license_treatment":"permissive","name":"pytest-integration","python_support":"supports_current","summary":"Organizing pytests by integration or not"},"popularity":{"monthly_downloads":273440,"position":8200,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.3"}
