$npx skillfedfor your agent

Testing packages

702 packages · page 1 of 18 · 736 including subcategories

Subcategories

Packages

pluggy Worth it
PyPI · Testing · 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 · Testing · 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 · Testing · 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
pytest-cov Worth it
PyPI · Testing · released Mar 2026

A pytest plugin that measures code coverage during test runs, automatically combining coverage data and supporting distributed testing with pytest-xdist.

Install it if you want coverage reports as part of your normal test workflow.

MITpure Python · 3.9+
235.9Mdownloads / mo
pexpect With conditions
PyPI · Testing · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
pytest-xdist Worth it
PyPI · Testing · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
pytest-mock Worth it
PyPI · Testing · released Sep 2025

Provides a pytest fixture that wraps the mock library's patching API, automatically cleaning up patches after each test and offering utilities like spy and stub for easier mocking in pytest test suites.

MITpure Python · 3.9+
105.0Mdownloads / mo
pytest-timeout Worth it
PyPI · Testing · released May 2025

Aborts pytest tests that exceed a specified time limit, with stack dumps of hanging threads to help diagnose deadlocks and timeouts.

Install it if you run tests in environments where manual intervention is impractical; skip it if your test suite is already fast and you have other mechanisms to…

MITpure Python · 3.7+
103.1Mdownloads / mo
playwright Worth it
PyPI · Testing · released Jul 2026

Automate Chromium, Firefox, and WebKit browsers via a single Python API for web testing, scraping, and interaction automation.

Apache-2.0compiled wheel · 3.10+
92.5Mdownloads / mo
Faker Worth it
PyPI · Testing · released Jul 2026

Faker generates realistic fake data—names, addresses, emails, phone numbers, and more—for testing, database bootstrapping, and data anonymization across multiple locales.

Install it if you need realistic fake data for tests, prototyping, or anonymization; skip it only if you have no use for generated test data.

MITpure Python · 3.10+
82.3Mdownloads / mo
pytest-rerunfailures Worth it
PyPI · Testing · released Aug 2026

A pytest plugin that automatically reruns failed tests to eliminate intermittent failures, with support for delays, exponential backoff, exception filtering, and hard crash recovery when used with pytest-xdist.

Install it if your test suite has intermittent failures you want to suppress without rewriting tests.

copyleftpure Python · 3.10+
79.1Mdownloads / mo
pylint Worth it
PyPI · Testing · released Aug 2026

Pylint is a static code analyzer that checks Python code for errors, enforces coding standards, detects code smells, and suggests refactoring improvements without executing the code.

Install it if you need thorough code analysis with inference-based bug detection; if speed is critical, consider pairing it with faster linters like ruff for…

GPL-2.0-or-laterpure Python · 3.10.0+
69.0Mdownloads / mo
py Skip
PyPI · Testing · released Nov 2021

Provides cross-platform path objects, INI file parsing, code introspection, and utility modules for Python development—now largely superseded by modern alternatives.

No, not for new code.

MITpure Pythonabandoned
68.9Mdownloads / mo
freezegun Worth it
PyPI · Testing · released Aug 2025

FreezeGun mocks Python's datetime and time modules to let tests run at a fixed or controlled point in time, supporting decorators, context managers, and manual time manipulation.

permissive licensepure Python · 3.8+aging
60.8Mdownloads / mo
selenium Worth it
PyPI · Testing · released Aug 2026

Selenium provides Python bindings to automate web browser interaction, allowing you to programmatically control Chrome, Edge, Firefox, Safari, and other browsers for testing and automation tasks.

Install it if you need to automate browser interactions, test JavaScript-heavy web applications, or scrape dynamic content.

permissive licensepure Python · 3.10+
60.2Mdownloads / mo
astroid Worth it
PyPI · Testing · released Aug 2026

Astroid builds an extended abstract syntax tree (AST) representation of Python source code with static inference and name-scope analysis, powering tools like pylint.

Install it if you're building or extending code-quality tooling.

LGPL-2.1-or-laterpure Python · 3.10.0+
55.4Mdownloads / mo
browser-use With conditions
PyPI · Testing · released Jul 2026

Browser Use is a Python library that lets AI agents automate web browser tasks—opening pages, clicking buttons, filling forms, and extracting data—by describing what you want done in natural language.

MITpure Python
53.1Mdownloads / mo
hypothesis Worth it
PyPI · Testing · released Aug 2026

Hypothesis is a property-based testing library that generates random test inputs within specified ranges to find edge cases and bugs, then simplifies failing cases to their minimal form for easier debugging.

Install it if you want to catch bugs your manual tests miss.

MPL-2.0compiled wheel · 3.10+
48.3Mdownloads / mo
moto Worth it
PyPI · Testing · released Jun 2026

Moto mocks AWS services for testing, allowing you to test code that calls boto3 without hitting real AWS infrastructure.

Install it if you write code that calls boto3.

permissive licensepure Python · 3.10+
47.4Mdownloads / mo
yamllint Worth it
PyPI · Testing · released Jan 2026

yamllint checks YAML files for syntax errors, style violations, and structural problems like key repetition, line length, trailing spaces, and indentation issues.

GPL-3.0-or-laterpure Python · 3.10+
40.4Mdownloads / mo
ty With conditions
PyPI · Testing · released Aug 2026

A fast Python type checker and language server written in Rust, providing type analysis, diagnostics, and IDE integration for Python codebases.

MITcompiled wheel · 3.8+
39.4Mdownloads / mo
tox Worth it
PyPI · Testing · released Aug 2026

tox automates testing across multiple Python environments and versions, managing virtual environments and running test suites with configurable test tools to verify package builds and compatibility.

Install it if you maintain a Python package or work on projects that require multi-environment testing.

MITpure Python · 3.10+
36.9Mdownloads / mo
pytest-metadata Worth it
PyPI · Testing · released Feb 2024

A pytest plugin that captures and exposes test session metadata—Python version, platform, installed packages, plugins, and CI environment variables—for use in tests, fixtures, reports, and custom hooks.

MPL-2.0pure Python · 3.8+
35.2Mdownloads / mo
mock With conditions
PyPI · Testing · released Mar 2025

mock provides a backport of Python's standard library unittest.mock for Python 3.6 and later, allowing you to replace parts of your system under test with mock objects and assert how they were used.

BSD-3-Clausepure Python · 3.6+aging
32.9Mdownloads / mo
uv-build With conditions
PyPI · Testing · released Aug 2026

uv-build is a build backend that integrates uv's fast dependency resolution into Python project builds.

MIT OR Apache-2.0compiled wheel · 3.8+
32.2Mdownloads / mo
requests-mock Worth it
PyPI · Testing · released Mar 2024

Intercepts and mocks HTTP requests made through the requests library, allowing you to stub out responses in tests without hitting real servers.

Install it if you write tests for code that makes HTTP calls.

Apache-2.0pure Python · 3.5+dormant
28.7Mdownloads / mo
great-expectations Worth it
PyPI · Testing · released Aug 2026

Defines and validates data quality expectations—unit tests for data—and generates documentation of validation results to help teams maintain consistent data standards.

Apache-2.0pure Python
27.7Mdownloads / mo
vcrpy Worth it
PyPI · Testing · released Jul 2026

VCR.py records HTTP interactions during test runs and replays them on subsequent runs, eliminating live HTTP requests and making tests deterministic and fast.

Install it if your test suite makes HTTP requests and you want faster, more reliable, offline-capable tests.

MITpure Python · 3.10+
27.1Mdownloads / mo
pytest-runner Skip
PyPI · Testing · released Dec 2023

Enables running pytest tests through setup.py by integrating pytest with setuptools' test command, though this approach is now deprecated in favor of modern test runners.

MITpure Python · 3.7+abandoned
26.6Mdownloads / mo
diff-cover Worth it
PyPI · Testing · released Aug 2026

Compares test coverage reports against git diffs to identify which new or modified lines lack test coverage, and optionally reports code quality violations in those same lines.

Apache-2.0pure Python · 3.10+
24.6Mdownloads / mo
time-machine Worth it
PyPI · Testing · released Aug 2026

Mocks and freezes time in tests, allowing you to travel to any point in the past or future and control how time advances during test execution.

Install it if you write tests for time-dependent code.

MITcompiled wheel · 3.10+
23.5Mdownloads / mo
factory-boy Worth it
PyPI · Testing · released Feb 2025

factory_boy replaces static test fixtures with declarative factories that generate customized test objects on demand, supporting multiple build strategies and ORM integration.

Install it if you write tests for ORM-backed applications or complex object hierarchies.

MITpure Python · 3.8+aging
22.9Mdownloads / mo
respx Worth it
PyPI · Testing · released Apr 2026

RESPX mocks HTTPX and HTTP Core libraries for testing, letting you define request patterns and inject responses without hitting real endpoints.

BSD-3-Clausepure Python · 3.8+
22.2Mdownloads / mo
pytest-html Worth it
PyPI · Testing · released Jan 2026

Generates HTML reports for pytest test results, turning test execution data into viewable web pages with test summaries, pass/fail status, and metadata.

Install it if you need HTML test reports; it's a standard tool in pytest ecosystems.

MPL-2.0pure Python · 3.9+
21.8Mdownloads / mo
pytest-django Worth it
PyPI · Testing · released Aug 2026

pytest-django integrates Django with pytest, letting you write and run Django tests using pytest's fixtures, plugins, and conventions instead of Django's built-in test runner.

BSD-3-Clausepure Python · 3.10+
21.6Mdownloads / mo
parameterized With conditions
PyPI · Testing · released Mar 2023

Parameterized testing decorator that works with nose, pytest, unittest, and other Python test frameworks to run the same test function across multiple input sets.

However, maintenance is dormant with the last release on 2023-03-27, so compatibility with future Python versions is uncertain.

BSD-3-Clausepure Python · 3.7+dormant
21.1Mdownloads / mo
pyproject-api Worth it
PyPI · Testing · released Jul 2026

Provides a programmatic API to read and interact with Python projects defined by pyproject.toml files, handling project metadata and configuration parsing.

MITpure Python · 3.10+
18.5Mdownloads / mo