$npx skillfedfor your agent

pytest-depends

Tests that depend on other tests

SkipPyPI TestingReleased Apr 2020155.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytest_depends-1.0.1-py3-none-any.whl
v1.0.1 · released 2020-04-05 · 4 runtime deps: colorama, future-fstrings, networkx, pytest

No. The package is abandoned (last release 2020-04-05, no recent commits), and compatibility with modern pytest and Python versions is unverified. While the concept is useful for specific scenarios, the lack of maintenance and unknown breakage risk make it unsuitable for new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel.
  • However, the package is abandoned—last release was 2020-04-05 with no recent maintenance.

License · maintenance · safety

MIT (permissive) — MIT license (permissive). You can use, modify, and distribute this package freely with minimal restrictions.

last release 2020-04-05 (2322 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 155,474 downloads/mo, #10,813 on PyPI

Verify before relying

pip install pytest-depends

import pytest

@pytest.mark.depends(on=['test_build_exists'])
def test_build_version():
    pass
  • Whether the plugin remains compatible with current pytest versions given the 2020 release date
  • Whether test reordering conflicts with modern pytest plugins remain unresolved
  • Compatibility with Python versions beyond 3.8 listed in classifiers
Same gist for agents: .md · .json

What it is and what it does

pytest-depends is a pytest plugin that lets you declare which tests depend on other tests passing, automatically skipping dependent tests if their prerequisites fail. Rather than treating tests as independent units, it recognizes scenarios where running a test makes no sense if an earlier test failed—for instance, if a build artifact doesn't exist, there's no point testing its version. The plugin reorders tests to run dependencies first and marks dependent tests as skipped if their prerequisites don't succeed.

The package depends on pytest, colorama, networkx, and future-fstrings. You declare dependencies using pytest markers with custom names or auto-generated test identifiers, and the plugin handles the rest.

Use it for

  • Skip integration tests when a prerequisite setup test fails, avoiding cascading failures in slow test suites
  • Avoid running tests on a build artifact when an earlier test confirms the artifact doesn't exist
  • Reduce test runtime by skipping tests that cannot possibly pass given earlier failures
  • Organize test execution around logical prerequisites without duplicating setup logic

Worth the install?

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

Skip

No.

The package is abandoned (last release 2020-04-05, no recent commits), and compatibility with modern pytest and Python versions is unverified. While the concept is useful for specific scenarios, the lack of maintenance and unknown breakage risk make it unsuitable for new projects.

Install

pytest-depends on PyPI

Before you install

Low install friction with a pure-Python wheel. However, the package is abandoned—last release was 2020-04-05 with no recent maintenance.

License in practice

MIT license (permissive). You can use, modify, and distribute this package freely with minimal restrictions.

Quickstart

pip install pytest-depends

import pytest

@pytest.mark.depends(on=['test_build_exists'])
def test_build_version():
    pass

Verify before relying

  • Whether the plugin remains compatible with current pytest versions given the 2020 release date
  • Whether test reordering conflicts with modern pytest plugins remain unresolved
  • Compatibility with Python versions beyond 3.8 listed in classifiers

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
coloramafuture-fstringsnetworkxpytest
MaintenanceAbandoned 2,322 days since the last release
First released
Downloads155,474 / month, #10,813 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: PytestIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Testing

Evidence: pytest_depends-1.0.1-py3-none-any.whl

Tags

Capabilities
pytest test dependenciesskip tests based on other testspytest conditional test executiontest ordering by dependenciespytest test prerequisites
Topics
test-orchestrationabandoned
PyPI keywords
pytest

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 test dependencies”

  • pytest-dependsA pytest plugin that lets you declare dependencies between tests,…
  • pytest-dependencyA pytest plugin that marks tests as dependent on other tests,…
  • pytest-random-orderA pytest plugin that randomizes the order in which tests run, helping…

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-dependency · pytest-skip-markers · pytest-reverse · pytest-loop · pytest-repeat · robotframework-dependencylibrary · pytest-find-dependencies · pytest-subprocess · pytest-logger · pytest-randomly