$npx skillfedfor your agent

pytest-integration

Organizing pytests by integration or not

With conditionsPyPI TestingReleased Nov 2022273.4K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_integration-0.2.3-py3-none-any.whl
v0.2.3 · released 2022-11-17 · Python >=3.6

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

Before you install

  • Requires pytest to be installed; designed for Python 3.6+.
  • Low friction installation with no runtime dependencies.
  • However, the package is abandoned—last release was 1366 days ago with no commits since 2023-04-07.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution.

last release 2022-11-17 (1366 days) · last repo commit 2023-04-07 · 25 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 273,440 downloads/mo, #8,200 on PyPI

Verify before relying

pip install pytest-integration

# In your test file:
import pytest

@pytest.mark.integration_test
def test_api_call():
    pass

@pytest.mark.slow_integration_test
def test_database_sync():
    pass

# Run with: pytest --with-integration --with-slow-integration
  • Whether the plugin works reliably with recent pytest versions (last tested in 2023).
  • Compatibility with modern pytest-cov versions and whether coverage exclusion still functions as documented.
  • Behavior under xdist with current pytest-xdist releases and whether the documented limitation still applies.
Same gist for agents: .md · .json

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

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

Use it for

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

Worth the install?

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

With conditions

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—the 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.

Install

pytest-integration on PyPI

Before you install

Low friction installation with no runtime dependencies. However, the package is abandoned—last release was 1366 days ago with no commits since 2023-04-07. It still supports current Python versions but receives no maintenance.

Requires pytest to be installed; designed for Python 3.6+.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution.

Quickstart

pip install pytest-integration

# In your test file:
import pytest

@pytest.mark.integration_test
def test_api_call():
    pass

@pytest.mark.slow_integration_test
def test_database_sync():
    pass

# Run with: pytest --with-integration --with-slow-integration

Verify before relying

  • Whether the plugin works reliably with recent pytest versions (last tested in 2023).
  • Compatibility with modern pytest-cov versions and whether coverage exclusion still functions as documented.
  • Behavior under xdist with current pytest-xdist releases and whether the documented limitation still applies.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,366 days since the last release
Last repo commit
First released
Downloads273,440 / month, #8,200 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Framework :: PytestLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: pytest_integration-0.2.3-py3-none-any.whl

Tags

Capabilities
pytest integration test markersorganize pytest by test typeskip integration tests on unit failurepytest test ordering pluginslow integration test runner
Topics
test-organizationabandoned-but-stable

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 integration test markers”

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-fail-slow · pytest-describe · pytest-skip-markers · pytest-order · pytest-dependency · pytest-cover · pytest-mpi · pytest-ordering · pytest-cov · pytest-incremental