$npx skillfedfor your agent

Testing packages

702 packages · page 3 of 18 · 736 including subcategories

Subcategories

Packages

pytest-recording Worth it
PyPI · Testing · released May 2025

A pytest plugin that records and replays HTTP traffic using VCR.py, letting you test code that makes network requests without hitting the network every time.

Install it if you want to replace live API calls or manual mocks with recorded cassettes in pytest.

MITpure Python · 3.9+
6.1Mdownloads / mo
pytest-order Worth it
PyPI · Testing · released Jun 2026

A pytest plugin that lets you control the order in which tests run using markers, either by index number or by specifying relationships between tests.

MITpure Python · 3.9+
6.1Mdownloads / mo
pytest-aiohttp Worth it
PyPI · Testing · released Jun 2026

Pytest plugin that provides fixtures for testing aiohttp applications with async test support, handling server and client creation plus automatic resource cleanup.

Apache-2.0pure Python · 3.10+
6.0Mdownloads / mo
behave Worth it
PyPI · Testing · released Sep 2025

behave is a behavior-driven development (BDD) framework that lets you write test scenarios in plain Gherkin language, backed by Python step implementations, to enable collaboration between developers, QA, and business stakeholders.

Install it if your workflow involves non-technical stakeholders in test design or if you want executable specifications written in natural language.

BSD-2-Clausepure Python
6.0Mdownloads / mo
pytest-dotenv Skip
PyPI · Testing · released Jun 2020

A pytest plugin that automatically loads environment variables from .env files before test runs, with support for multiple files and optional override of existing system variables.

No—not for new projects.

MITpure Pythonabandoned
5.5Mdownloads / mo
ansible-lint Worth it
PyPI · Testing · released Aug 2026

ansible-lint checks Ansible playbooks and roles for practices that could be improved, flagging issues before deployment.

Install it if you use Ansible and want automated quality checks on your playbooks.

GPL-3.0-or-laterpure Python · 3.10+
5.3Mdownloads / mo
types-mock With conditions
PyPI · Testing · released May 2026

Provides type stubs for the mock library, enabling type checkers like mypy and pyright to validate code that uses mock for unit testing.

Apache-2.0pure Python · 3.10+
5.3Mdownloads / mo
robotframework Worth it
PyPI · Testing · released Mar 2026

Robot Framework is a generic open-source automation framework for acceptance testing, acceptance test-driven development (ATDD), and robotic process automation (RPA) with a simple plain-text syntax.

Apache-2.0pure Python · 3.8+
5.1Mdownloads / mo
pytest-subtests With conditions
PyPI · Testing · released Oct 2025

Adds subTest() support to pytest, allowing unittest-style parameterized test iterations and a subtests fixture for pure pytest tests to report individual failures within a single test function.

However, the abandoned status means no fixes or updates for future pytest or Python releases—use it only if you accept that risk or have a fallback plan.

MITpure Python · 3.9+abandoned
4.9Mdownloads / mo
pytest-testmon With conditions
PyPI · Testing · released Dec 2025

A pytest plugin that automatically identifies and runs only the tests affected by recent code changes, using dependency tracking to avoid re-running unrelated tests.

However, the aging maintenance status (256 days since last release) means you should verify reliability in your codebase before relying on it in critical CI…

permissive licensepure Python · 3.10+aging
4.8Mdownloads / mo
Appium-Python-Client Worth it
PyPI · Testing · released Aug 2026

Extends Selenium Python bindings with Appium-specific commands and WebDriver Protocol support for automated mobile app testing on iOS, Android, and other platforms.

Install it if you need to automate mobile app testing; it is the expected tool for this purpose in Python.

Apache-2.0pure Python · 3.10+
4.7Mdownloads / mo
testing.common.database Skip
PyPI · Testing · released Oct 2017

Provides base classes and utilities for building database testing frameworks, allowing you to create isolated, temporary database instances for test suites.

Apache-2.0pure Pythonabandoned
4.5Mdownloads / mo
testing.postgresql Skip
PyPI · Testing · released Feb 2016

Automatically creates and tears down temporary PostgreSQL instances for testing, handling setup and cleanup without manual intervention.

Apache-2.0pure Pythonabandoned
4.5Mdownloads / mo
pyfakefs Worth it
PyPI · Testing · released Apr 2026

pyfakefs mocks the Python file system modules to run tests against an in-memory fake filesystem instead of the real disk, with no changes required to the code under test.

Install it if your test suite touches the filesystem.

Apache-2.0pure Python · 3.10+
4.5Mdownloads / mo
gcovr Worth it
PyPI · Testing · released Jan 2026

Gcovr processes GCC code coverage data and generates human-readable or machine-parseable coverage reports in multiple formats including HTML, JSON, CSV, XML (Cobertura, Clover, JaCoCo, LCOV, SonarQube), Markdown, and Coveralls.

Install it if you need to measure or report code coverage for GCC-compiled C/C++ projects, especially in CI/CD contexts where structured output formats are required.

BSD-3-Clausepure Python · 3.10+
4.4Mdownloads / mo
flaky With conditions
PyPI · Testing · released Mar 2024

A pytest plugin that automatically reruns failing tests up to a configurable number of times, allowing tests that depend on unreliable components to pass without being skipped or removed.

Apache-2.0pure Python · 3.5+aging
4.2Mdownloads / mo
patchright With conditions
PyPI · Testing · released Jul 2026

Patchright is an undetected fork of Playwright that automates Chromium-based browsers while evading bot-detection systems. It works as a drop-in replacement for Playwright's sync and async APIs.

However, install it only if standard Playwright fails due to detection—anti-detection techniques are inherently fragile and may break as detection systems evolve.

Apache-2.0compiled wheel · 3.10+
4.2Mdownloads / mo
pytest-check Worth it
PyPI · Testing · released Aug 2026

A pytest plugin that allows tests to continue running and collect multiple assertion failures per test, rather than stopping at the first failed assert.

license unclearpure Python · 3.9+
4.0Mdownloads / mo
cucumber-tag-expressions Worth it
PyPI · Testing · released Aug 2026

Parses and evaluates boolean tag expressions (using and, or, not operators) to select Gherkin scenarios and features based on their tags, commonly used by BDD test runners like behave.

Install it if you are building or using a Gherkin-based BDD test runner (such as behave) or need to parse and evaluate tag expressions for test selection.

MITpure Python · 3.10+
3.8Mdownloads / mo
pytest-timeouts Skip
PyPI · Testing · released Sep 2019

A pytest plugin that enforces separate timeout limits on the setup, execution, and teardown phases of individual tests using SIGALRM signals on Linux.

MITbuilds from sourceabandoned
3.7Mdownloads / mo
pytest-github-actions-annotate-failures Worth it
PyPI · Testing · released Jun 2026

A pytest plugin that automatically annotates failed tests in GitHub Actions workflows using GitHub's workflow annotation commands, making test failures visible directly in the Actions UI.

Install it if you run pytest in GitHub Actions and want failures to surface directly in the UI.

MITpure Python · 3.10+
3.7Mdownloads / mo
pytest-bdd Worth it
PyPI · Testing · released Dec 2024

pytest-bdd implements Gherkin-based behavior-driven development testing within pytest, allowing you to write feature files and step definitions that unify functional and unit tests.

Install it if you need BDD-style testing, want to document requirements as executable scenarios, or need to bridge technical and non-technical stakeholders.

MITpure Python · 3.9+
3.6Mdownloads / mo
cucumber-expressions Worth it
PyPI · Testing · released Aug 2026

Cucumber Expressions provides a simpler, more readable alternative to regular expressions for pattern matching in behavior-driven development (BDD) test frameworks, with an intuitive syntax designed for test step definitions.

Install it if you're building or using BDD test frameworks.

MITpure Python · 3.10+
3.6Mdownloads / mo
playwright-stealth With conditions
PyPI · Testing · released Apr 2026

Applies evasion techniques to Playwright browser instances to mask automation detection and bypass basic bot-detection methods.

However, do not expect it to defeat sophisticated detection systems—use it as a starting point and be prepared to add custom evasions for harder targets.

MITpure Python · 3.9+
3.5Mdownloads / mo
pytest-durations Worth it
PyPI · Testing · released Aug 2026

A pytest plugin that measures and reports fixture and test function execution times separately, with support for xdist and time-traveling packages.

Install it if you need finer-grained visibility into test performance than pytest's built-in --durations provides, especially for large test suites where fixture…

MITpure Python
3.5Mdownloads / mo
lit With conditions
PyPI · Testing · released Jun 2024

lit is a portable test runner for executing LLVM and Clang style test suites, summarizing results, and reporting failures with parallel execution support.

However, do not install expecting active maintenance or new features—development is dormant.

Apache-2.0pure Pythondormant
3.4Mdownloads / mo
testfixtures Worth it
PyPI · Testing · released Jul 2026

Testfixtures provides helpers and mock objects for writing unit and integration tests, including comparison utilities, object replacement, datetime mocking, subprocess testing, logging capture, and file/directory sandboxing.

Install it if your test suite needs readable comparisons, object mocking, datetime control, or subprocess/logging verification.

MITpure Python · 3.11+
3.4Mdownloads / mo
portpicker Worth it
PyPI · Testing · released Aug 2023

Finds and returns an unused network port on the local host, available as a Python function or command-line tool for use in test automation and shell scripts.

However, the repository is archived and unmaintained—if you encounter a bug or need a feature, you will need to fork or find an alternative.

Apache-2.0pure Python · 3.6+abandoned
3.4Mdownloads / mo
hypothesis-jsonschema With conditions
PyPI · Testing · released Feb 2024

Generates random JSON data that conforms to a given JSON schema, for use as test input in property-based testing with Hypothesis.

MPL-2.0pure Python · 3.8+aging
3.4Mdownloads / mo
ddapm-test-agent Worth it
PyPI · Testing · released Aug 2026

Emulates Datadog APM agent endpoints to test Datadog APM client libraries, providing trace validation, snapshot testing, and optional proxying to a real Datadog agent.

Install it if you develop or maintain a Datadog APM client library or need to validate trace behavior in CI/CD.

permissive licensepure Python · 3.8+
3.3Mdownloads / mo
rstr With conditions
PyPI · Testing · released Oct 2023

Generates random strings from custom alphabets, predefined character sets, or regular expressions for testing and dummy data creation.

BSD-3-Clausepure Python · 3.7+aging
3.3Mdownloads / mo
seleniumbase With conditions
PyPI · Testing · released Aug 2026

SeleniumBase is a browser automation framework that combines Selenium WebDriver with pytest integration, CDP mode for bot-detection bypass, and tools for web testing, scraping, and crawling.

However, the 60 runtime dependencies are substantial—evaluate whether you need the full feature set or if a lighter alternative suits your use case.

permissive licensepure Python · 3.9+
3.1Mdownloads / mo
pywinauto With conditions
PyPI · Testing · released Jan 2025

Automate Microsoft Windows GUI interactions by sending mouse and keyboard actions to windows, dialogs, and controls, with support for both Win32 API and MS UI Automation backends.

BSD-3-Clausepure Python
3.1Mdownloads / mo
chispa Worth it
PyPI · Testing · released Mar 2026

Provides assertion methods for testing PySpark code with descriptive error messages formatted for easy debugging.

MITpure Python
3.0Mdownloads / mo
PyAutoGUI With conditions
PyPI · Testing · released May 2023

PyAutoGUI programmatically controls the mouse and keyboard across Windows, macOS, and Linux, enabling GUI automation tasks like clicking, typing, and taking screenshots.

BSD-3-Clausebuilds from sourcedormant
2.9Mdownloads / mo
hypothesis-graphql Worth it
PyPI · Testing · released Jul 2026

Generates arbitrary GraphQL queries matching your schema to use as property-based test cases via Hypothesis, exposing edge cases in your GraphQL backend.

MITpure Python · 3.10+
2.9Mdownloads / mo
pytest-codspeed Worth it
PyPI · Testing · released May 2026

A pytest plugin that integrates performance benchmarking into your test suite, letting you measure code execution time using either a decorator or a fixture for precise control.

MITpure Python · 3.9+
2.9Mdownloads / mo
MouseInfo Skip
PyPI · Testing · released Mar 2020

MouseInfo displays the XY coordinates and RGB color of the pixel under your mouse cursor in a GUI window, useful for planning GUI automation scripts.

GPL-3.0-or-laterbuilds from sourceabandoned
2.9Mdownloads / mo
gherkin-official Worth it
PyPI · Testing · released Aug 2026

Parses and compiles Gherkin feature files into abstract syntax trees and pickles for behavior-driven development testing frameworks.

Install it if you need to parse or compile Gherkin feature files programmatically or integrate BDD workflows into custom tooling.

MITpure Python · 3.10+
2.8Mdownloads / mo
pytest-random-order Worth it
PyPI · Testing · released Jun 2025

A pytest plugin that randomizes the order in which tests run, helping detect test interdependencies and order-dependent failures.

Install it if you want to harden your test suite against hidden interdependencies.

MITpure Python · 3.9+
2.8Mdownloads / mo