Pytest 插件列表

以下是 PyPI 上可用 pytest` 插件的自动编译列表。它包括名称以 pytest-pytest_ 开头的 PyPI 项目以及少量手动选择的项目。归类为非活跃的包已被排除。

有关此列表生成方式的详细信息,请参阅更新脚本

警告

请注意,此列表并非经过策划的项目集合,也未经过系统性的审查流程。它纯粹是一个信息资源,旨在帮助发现 pytest 插件。

请勿假定 pytest 项目或其开发人员有任何背书,在将任何这些插件集成到您自己的项目之前,请务必自行进行质量评估。

此列表包含 1641 个插件。

名称

摘要

最新发布

状态

要求

databricks-labs-pytester

适用于 Databricks 的 Python 测试

2025年5月13日

4 - Beta

pytest>=8.3

logassert

简单而强大的日志行断言和验证

2025年5月15日

5 - 生产/稳定

pytest; extra == “dev”

logot

测试您的代码是否正确记录 🪵

2025年5月5日

5 - 生产/稳定

pytest; extra == “pytest”

nuts

网络单元测试系统

2025年5月10日

不适用

pytest<8,>=7

pytest-abq

ABQ 通用测试运行器的 Pytest 集成。

2023年4月7日

不适用

不适用

pytest-abstracts

一个用于处理多个 mock abstracts 的 contextmanager pytest fixture

2022年5月25日

不适用

不适用

pytest-accept

一个用于更新 doctest 输出的 pytest 插件

2024年12月8日

不适用

pytest>=7

pytest-adaptavist

用于在 Jira Test Management (tm4j) 中生成测试执行结果的 pytest 插件

2022年10月13日

不适用

pytest (>=5.4.0)

pytest-adaptavist-fixed

用于在 Jira Test Management (tm4j) 中生成测试执行结果的 pytest 插件

2025年1月17日

不适用

pytest>=5.4.0

pytest-addons-test

用于测试pytest的插件

2021年8月2日

不适用

pytest (>=6.2.4,<7.0.0)

pytest-adf

用于编写 Azure Data Factory 集成测试的 Pytest 插件

2021年5月10日

4 - Beta

pytest (>=3.5.0)

pytest-adf-azure-identity

用于编写 Azure Data Factory 集成测试的 Pytest 插件

2021年3月6日

4 - Beta

pytest (>=3.5.0)

pytest-ads-testplan

pytest 测试的 Azure DevOps 测试用例报告

2022年9月15日

不适用

不适用

pytest-affected

2023年11月6日

不适用

不适用

pytest-agent

提供 REST API 的服务,可用于与 Pytest 进行远程交互。它附带一个仪表板,可以更方便地运行测试。

2021年11月25日

不适用

不适用

pytest-aggreport

pytest-repeat 的 pytest 插件,生成相同测试用例的聚合报告,并包含额外的统计信息。

2021年3月7日

4 - Beta

pytest (>=6.2.2)

pytest-ai

一个用于生成常规、边缘案例和安全 HTTP 测试的 Python 包。

2025年1月22日

不适用

不适用

pytest-ai1899

用于连接 ai1899 智能系统堆栈的 pytest 插件

2024年3月13日

5 - 生产/稳定

不适用

pytest-aio

用于测试异步 Python 代码的 Pytest 插件

2024年7月31日

5 - 生产/稳定

pytest

pytest-aioboto3

Aioboto3 Pytest with Moto

2025年1月17日

不适用

不适用

pytest-aiofiles

用于使用 pyfakefs 编写 aiofiles 测试的 pytest fixtures

2017年5月14日

5 - 生产/稳定

不适用

pytest-aiogram

2023年5月6日

不适用

不适用

pytest-aiohttp

用于 aiohttp 支持的 Pytest 插件

2025年1月23日

4 - Beta

pytest>=6.1.0

pytest-aiohttp-client

Aiohttp 的 Pytest `client` fixture

2023年1月10日

不适用

pytest (>=7.2.0,<8.0.0)

pytest-aiomoto

pytest-aiomoto

2023年6月24日

不适用

pytest (>=7.0,<8.0)

pytest-aioresponses

py.test 与 aioresponses 的集成

2025年1月2日

4 - Beta

pytest>=3.5.0

pytest-aioworkers

一个用于使用 pytest 测试 aioworkers 项目的插件

2024年12月26日

5 - 生产/稳定

pytest>=8.3.4

pytest-airflow

对 airflow 的 pytest 支持。

2019年4月3日

3 - Alpha

pytest (>=4.4.0)

pytest-airflow-utils

2021年11月15日

不适用

不适用

pytest-alembic

一个用于验证 alembic 迁移的 pytest 插件。

2025年5月27日

不适用

pytest>=7.0

pytest-alerts

一个用于向 Slack 和 Telegram 发送测试结果的 pytest 插件

2025年2月21日

4 - Beta

pytest>=7.4.0

pytest-allclose

扩展 Numpy allclose 函数的 Pytest fixture

2019年7月30日

5 - 生产/稳定

pytest

pytest-allure-adaptor

用于 py.test 生成 allure xml 报告的插件

2018年1月10日

不适用

pytest (>=2.7.3)

pytest-allure-adaptor2

用于 py.test 生成 allure xml 报告的插件

2020年10月14日

不适用

pytest (>=2.7.3)

pytest-allure-collection

在不运行任何测试的情况下收集 allure 标记的 pytest 插件

2023年4月13日

不适用

pytest

pytest-allure-dsl

用于测试用例文档字符串 dls 指令的 pytest 插件

2020年10月25日

4 - Beta

pytest

pytest-allure-id2history

如果测试用例有 ID,则用测试用例完整名称和测试用例 ID 覆盖 allure 历史 ID,不包括参数。

2024年5月14日

4 - Beta

pytest>=6.2.0

pytest-allure-intersection

2022年10月27日

不适用

pytest (<5)

pytest-allure-spec-coverage

旨在在 Allure 中显示规范(需求)测试覆盖率的 pytest 插件

2021年10月26日

不适用

pytest

pytest-alphamoon

Alphamoon 使用的静态代码检查

2021年12月30日

5 - 生产/稳定

pytest (>=3.5.0)

pytest-amaranth-sim

自动化运行 Amaranth 模拟的 fixture

2024年9月21日

4 - Beta

pytest>=6.2.0

pytest-analyzer

此插件允许分析 pytest 项目中的测试,收集测试元数据并将其与 testomat.io TCM 系统同步

2024年2月21日

不适用

pytest <8.0.0,>=7.3.1

pytest-android

此 fixture 使用 uiautomator2 为 Android 自动化测试提供已配置的“驱动程序”。

2019年2月21日

3 - Alpha

pytest

pytest-anki

一个用于测试 Anki 插件的 pytest 插件

2022年7月31日

4 - Beta

pytest (>=3.5.0)

pytest-annotate

pytest-annotate:从您的 pytest 测试生成 PyAnnotate 注释。

2022年6月7日

3 - Alpha

pytest (<8.0.0,>=3.2.0)

pytest-annotated

Pytest 插件,允许在测试中使用 Annotated 来解析 fixtures

2024年9月30日

不适用

pytest>=8.3.3

pytest-ansible

用于 pytest 的插件,可简化从测试或 fixtures 中调用 ansible 模块

2025年5月26日

5 - 生产/稳定

pytest>=6

pytest-ansible-playbook

运行给定 ansible playbook 文件的 Pytest fixture。

2019年3月8日

4 - Beta

不适用

pytest-ansible-playbook-runner

运行给定 ansible playbook 文件的 Pytest fixture。

2020年12月2日

4 - Beta

pytest (>=3.1.0)

pytest-ansible-units

一个用于在 ansible 集合中运行单元测试的 pytest 插件

2022年4月14日

不适用

不适用

pytest-antilru

运行 pytest 时清除 functools.lru_cache 以避免测试污染

2024年7月28日

5 - 生产/稳定

pytest>=7; python_version >= “3.10”

pytest-anyio

pytest anyio 插件已内置到 anyio 中。您不需要此包。

2021年6月29日

不适用

pytest

pytest-anything

用于断言任何事物和某些事物的 Pytest fixtures

2024年1月18日

不适用

pytest

pytest-aoc

下载 Advent of Code 的谜题输入并合成 PyTest fixtures

2023年12月2日

5 - 生产/稳定

pytest ; extra == ‘test’

pytest-aoreporter

pytest 报告

2022年6月27日

不适用

不适用

pytest-api

一个 ASGI 中间件,用于从 pytest 函数填充 OpenAPI 规范示例

2022年5月12日

不适用

pytest (>=7.1.1,<8.0.0)

pytest-api-soup

使用单一事实来源通过单元测试验证多个端点。

2022年8月27日

不适用

不适用

pytest-apistellar

pytest 的 apistellar 插件。

2019年6月18日

不适用

不适用

pytest-apiver

2024年6月21日

不适用

pytest

pytest-appengine

与 pytest-django 良好配合的 AppEngine 集成

2017年2月27日

不适用

不适用

pytest-appium

用于 appium 的 Pytest 插件

2019年12月5日

不适用

不适用

pytest-approvaltests

一个用于将 approvaltests 与 pytest 一起使用的插件

2022年5月8日

4 - Beta

pytest (>=7.0.1)

pytest-approvaltests-geo

ApprovalTests.Python 专门用于地理数据验证的扩展

2024年2月5日

5 - 生产/稳定

pytest

pytest-archon

像真正的开发人员一样管理您的架构

2023年12月18日

5 - 生产/稳定

pytest >=7.2

pytest-argus

pytest 结果收集插件

2021年6月24日

5 - 生产/稳定

pytest (>=6.2.4)

pytest-argus-server

一个为测试提供运行 Argus API 服务器的插件

2025年3月24日

4 - Beta

pytest>=6.2.0

pytest-arraydiff

有助于比较测试输出中的数组的 pytest 插件

2023年11月27日

4 - Beta

pytest >=4.6

pytest-asgi-server

用于 Pytest 的便捷 ASGI 客户端/服务器 fixtures

2020年12月12日

不适用

pytest (>=5.4.1)

pytest-aspec

pytest 的 rspec 格式报告器

2023年12月20日

4 - Beta

不适用

pytest-asptest

测试 Answer Set Programming 程序

2018年4月28日

4 - Beta

不适用

pytest-assertcount

计算 pytest 中实际断言数量的插件

2022年10月23日

不适用

pytest (>=5.0.0)

pytest-assertions

Pytest 断言

2022年4月27日

不适用

不适用

pytest-assertutil

pytest-assertutil

2019年5月10日

不适用

不适用

pytest-assert-utils

与 pytest 配合使用的有用断言工具

2022年4月14日

3 - Alpha

不适用

pytest-assist

负载测试库

2025年3月17日

不适用

pytest

pytest-assume

一个允许每个测试多次失败的 pytest 插件

2021年6月24日

不适用

pytest (>=2.7)

pytest-assurka

用于 Assurka Studio 的 pytest 插件

2022年8月4日

不适用

不适用

pytest-ast-back-to-python

一个用于 pytest 开发人员查看断言重写如何重新编码 AST 的插件

2019年9月29日

4 - Beta

不适用

pytest-asteroid

用于基于 docker 数据库映像测试的 PyTest 插件

2022年8月15日

不适用

pytest (>=6.2.5,<8.0.0)

pytest-astropy

包含测试依赖项的元包

2023年9月26日

5 - 生产/稳定

pytest >=4.6

pytest-astropy-header

pytest 插件,用于在测试输出的头部添加诊断信息

2022年9月6日

3 - Alpha

pytest (>=4.6)

pytest-ast-transformer

2019年5月4日

3 - Alpha

pytest

pytest_async

pytest-async - 在不使用装饰器的情况下在事件循环中运行您的协程

2020年2月26日

不适用

不适用

pytest-async-benchmark

pytest-async-benchmark:用于异步代码的现代 pytest 基准测试。🚀

2025年5月28日

不适用

pytest>=8.3.5

pytest-async-generators

用于异步生成器的 Pytest fixtures

2023年7月5日

不适用

不适用

pytest-asyncio

对 asyncio 的 Pytest 支持

2025年5月26日

4 - Beta

pytest<9,>=8.2

pytest-asyncio-concurrent

并发执行 Python 异步测试的 Pytest 插件。

2025年5月17日

4 - Beta

pytest>=6.2.0

pytest-asyncio-cooperative

协作运行所有异步测试。

2025年4月26日

不适用

不适用

pytest-asyncio-network-simulator

pytest-asyncio-network-simulator:用于 pytest 的插件,用于在测试中模拟网络

2018年7月31日

3 - Alpha

pytest (<3.7.0,>=3.3.2)

pytest-async-mongodb

用于异步 MongoDB 的 pytest 插件

2017年10月18日

5 - 生产/稳定

pytest (>=2.5.2)

pytest-async-sqlalchemy

使用 SQLAlchemy asyncio API 的数据库测试 fixtures

2021年10月7日

4 - Beta

pytest (>=6.0.0)

pytest-atf-allure

基于allure-pytest进行自定义

2023年11月29日

不适用

pytest (>=7.4.2,<8.0.0)

pytest-atomic

如果前一个测试失败,则跳过其余测试。

2018年11月24日

4 - Beta

不适用

pytest-atstack

一个简单的 pytest 插件

2025年1月2日

4 - Beta

pytest>=6.2.0

pytest-attrib

pytest 插件,根据属性选择测试,类似于 nose-attrib 插件

2016年5月24日

4 - Beta

不适用

pytest-attributes

一个插件,允许用户为他们的测试添加属性。这些属性随后可以被 fixtures 或测试本身引用。

2024年6月24日

4 - Beta

pytest>=6.2.0

pytest-austin

Austin 插件,用于 pytest

2020年10月11日

4 - Beta

不适用

pytest-autocap

自动将测试和 fixture 的 stdout/stderr 捕获到文件中

2022年5月15日

不适用

pytest (<7.2,>=7.1.2)

pytest-autochecklog

自动检查条件并记录所有检查

2015年4月25日

4 - Beta

不适用

pytest-autofixture

简化 pytest fixtures

2024年8月1日

不适用

pytest>=8

pytest-automation

用于构建测试套件的 pytest 插件,使用 YAML 文件扩展 pytest 参数化功能。

2024年4月24日

不适用

pytest>=7.0.0

pytest-automock

用于自动创建 mock 的 Pytest 插件

2023年5月16日

不适用

pytest ; extra == ‘dev’

pytest-auto-parametrize

pytest 插件:避免在参数化中重复参数

2016年10月2日

3 - Alpha

不适用

pytest-autotest

此 fixture 使用 uiautomator2 为 Android 自动化测试提供已配置的“驱动程序”。

2021年8月25日

不适用

pytest

pytest-aviator

Aviator 的 Flakybot pytest 插件,可自动重新运行不稳定测试。

2022年11月4日

4 - Beta

pytest

pytest-avoidance

让 pytest 跳过不需要重新运行的测试

2019年5月23日

4 - Beta

pytest (>=3.5.0)

pytest-aws

用于测试 AWS 资源配置的 pytest 插件

2017年10月4日

4 - Beta

不适用

pytest-aws-apigateway

用于 AWS ApiGateway 的 pytest 插件

2024年5月24日

4 - Beta

pytest

pytest-aws-config

在单元测试中保护您的 AWS 凭据

2021年5月28日

不适用

不适用

pytest-aws-fixtures

一系列用于涉及实际 AWS 服务的集成测试的 fixtures。

2025年4月6日

不适用

pytest<9.0.0,>=8.0.0

pytest-axe

用于 axe-selenium-python 的 pytest 插件

2018年11月12日

不适用

pytest (>=3.0.0)

pytest-axe-playwright-snapshot

一个 pytest 插件,用于在 Playwright 页面上运行 Axe-core 并获取结果快照。

2023年7月25日

不适用

pytest

pytest-azure

Azure 的 Pytest 工具和模拟

2023年1月18日

3 - Alpha

pytest

pytest-azure-devops

简化了将 azure devops 并行策略(https://docs.microsoft.com/en-us/azure/devops/pipelines/test/parallel-testing-any-test-runner)与 pytest 一起使用。

2022年6月20日

4 - Beta

pytest (>=3.5.0)

pytest-azurepipelines

为 Azure Pipelines UI 格式化 PyTest 输出

2023年10月6日

5 - 生产/稳定

pytest (>=5.0.0)

pytest-bandit

用于 pytest 的 bandit 插件

2021年2月23日

4 - Beta

pytest (>=3.5.0)

pytest-bandit-xayon

用于 pytest 的 bandit 插件

2022年10月17日

4 - Beta

pytest (>=3.5.0)

pytest-base-url

用于基于 URL 测试的 pytest 插件

2024年1月31日

5 - 生产/稳定

pytest>=7.0.0

pytest-batch-regression

一个 pytest 插件,用于分批重复整个测试套件。

2024年5月8日

不适用

pytest>=6.0.0

pytest-bazel

一个支持 bazel 的 pytest 运行器

2025年5月11日

4 - Beta

pytest

pytest-bdd

pytest 的 BDD

2024年12月5日

6 - 成熟

pytest>=7.0.0

pytest-bdd-html

在 HTML 测试报告中显示 BDD 信息的 pytest 插件

2022年11月22日

3 - Alpha

pytest (!=6.0.0,>=5.0)

pytest-bdd-ng

pytest 的 BDD

2024年11月26日

4 - Beta

pytest>=5.2

pytest-bdd-report

一个用于生成有用且信息丰富的 BDD 测试报告的 pytest-bdd 插件

2024年11月27日

不适用

pytest>=7.1.3

pytest-bdd-splinter

pytest bdd 和 splinter 集成的通用步骤

2019年8月12日

5 - 生产/稳定

pytest (>=4.0.0)

pytest-bdd-web

一个简单的 pytest 插件

2020年1月2日

4 - Beta

pytest (>=3.5.0)

pytest-bdd-wrappers

2020年2月11日

2 - 预 Alpha

不适用

pytest-beakerlib

一个将测试结果报告给 BeakerLib 框架的 pytest 插件

2017年3月17日

5 - 生产/稳定

pytest

pytest-beartype

Pytest 插件,用于启用 beartype 检查来运行测试。

2024年10月31日

不适用

pytest

pytest-bec-e2e

BEC pytest 插件,用于端到端测试

2025年5月30日

3 - Alpha

pytest

pytest-beds

用于测试 Google Appengine (GAE) 应用程序的 fixtures

2016年6月7日

4 - Beta

不适用

pytest-beeprint

使用 icdiff 改进 pytest 断言的错误消息

2023年7月4日

4 - Beta

不适用

pytest-bench

一个与 pytest 集成的基准测试工具。

2014年7月21日

3 - Alpha

不适用

pytest-benchmark

一个用于基准测试代码的 ``pytest`` fixture。它将把测试分组为与所选计时器校准的回合。

2024年10月30日

5 - 生产/稳定

pytest>=8.1

pytest-better-datadir

一个小型示例包

2023年3月13日

不适用

不适用

pytest-better-parametrize

参数化测试用例的更好描述

2024年3月5日

4 - Beta

pytest >=6.2.0

pytest-bg-process

Pytest 插件,用于初始化后台进程

2022年1月24日

4 - Beta

pytest (>=3.5.0)

pytest-bigchaindb

用于 pytest 的 BigchainDB 插件。

2022年1月24日

4 - Beta

不适用

pytest-bigquery-mock

为 python bigquery 客户端提供 mock fixture

2022年12月28日

不适用

pytest (>=5.0)

pytest-bisect-tests

查找泄露状态并影响其他测试的测试

2024年6月9日

不适用

不适用

pytest-black

一个用于启用 black 格式检查的 pytest 插件

2024年12月15日

4 - Beta

pytest>=7.0.0

pytest-black-multipy

允许在较旧的 Python 版本上使用“--black”

2021年1月14日

5 - 生产/稳定

pytest (!=3.7.3,>=3.5) ; extra == ‘testing’

pytest-black-ng

一个用于启用 black 格式检查的 pytest 插件

2022年10月20日

4 - Beta

pytest (>=7.0.0)

pytest-blame

一个 pytest 插件,通过提供有用的提交历史来帮助开发人员调试。

2019年5月4日

不适用

pytest (>=4.4.0)

pytest-blender

Blender Pytest 插件。

2024年8月2日

不适用

pytest

pytest-blink1

Pytest 插件,通过 Blink(1) RGB LED 发出通知

2018年1月7日

4 - Beta

不适用

pytest-blockage

在测试运行期间禁用网络请求。

2021年12月21日

不适用

pytest

pytest-blocker

pytest 插件,用于将测试标记为阻塞测试,并跳过所有其他测试

2015年9月7日

4 - Beta

不适用

pytest-blue

一个 pytest 插件,添加了一个 `blue` fixture,用于以蓝色打印内容。

2022年9月5日

不适用

不适用

pytest-board

使用 pytest 和 watchdog 的本地持续测试运行器。

2019年1月20日

不适用

不适用

pytest-boilerplate

您的 Django Boilerplate 的 pytest 插件。

2024年9月12日

5 - 生产/稳定

pytest>=4.0.0

pytest-bonsai

2025年4月8日

不适用

pytest>=6

pytest-boost-xml

用于 pytest 生成 boost xml 报告的插件

2022年11月30日

4 - Beta

不适用

pytest-bootstrap

2022年3月4日

不适用

不适用

pytest-boto-mock

mock 包的轻量级包装器,便于与 pytest 一起使用

2024年7月16日

5 - 生产/稳定

pytest>=8.2.0

pytest-bpdb

一个 py.test 插件,用于在测试失败时启用 bpdb 调试器。

2015年1月19日

2 - 预 Alpha

不适用

pytest-bq

用于 Pytest 的 BigQuery fixtures 和 fixture 工厂。

2024年5月8日

5 - 生产/稳定

pytest>=6.2

pytest-bravado

Pytest-bravado 自动从 OpenAPI 规范客户端 fixtures 生成。

2022年2月15日

不适用

不适用

pytest-breakword

将 breakword 与 pytest 一起使用

2021年8月4日

不适用

pytest (>=6.2.4,<7.0.0)

pytest-breed-adapter

一个简单的插件,用于连接 breed-server

2018年11月7日

4 - Beta

pytest (>=3.5.0)

pytest-briefcase

一个用于在 Briefcase 项目上运行测试的 pytest 插件。

2020年6月14日

4 - Beta

pytest (>=3.5.0)

pytest-broadcaster

Pytest 插件,用于将 pytest 输出广播到各种目的地

2025年3月2日

3 - Alpha

pytest

pytest-browser

一个 pytest 插件,用于在收集阶段之后进行基于控制台的浏览器测试选择

2016年12月10日

3 - Alpha

不适用

pytest-browsermob-proxy

py.test 的 BrowserMob 代理插件。

2013年6月11日

4 - Beta

不适用

pytest_browserstack

py.test 的 BrowserStack 插件

2016年1月27日

4 - Beta

不适用

pytest-browserstack-local

``py.test`` 插件,用于在后台运行 ``BrowserStackLocal``。

2018年2月9日

不适用

不适用

pytest-budosystems

Budo Systems 是一个武术学校管理系统。此模块是 Budo Systems Pytest 插件。

2023年5月7日

3 - Alpha

pytest

pytest-bug

用于将测试标记为 bug 的 Pytest 插件

2024年6月5日

5 - 生产/稳定

pytest>=8.0.0

pytest-bugtong-tag

pytest-bugtong-tag 是一个 pytest 插件

2022年1月16日

不适用

不适用

pytest-bugzilla

py.test bugzilla 集成插件

2010年5月5日

4 - Beta

不适用

pytest-bugzilla-notifier

一个插件,允许您执行创建、更新和读取 BugZilla bugs 的信息

2018年6月15日

4 - Beta

pytest (>=2.9.2)

pytest-buildkite

pytest 插件,自动将覆盖率和 pytest 报告注释发布到 Buildkite。

2019年7月13日

4 - Beta

pytest (>=3.5.0)

pytest-builtin-types

2021年11月17日

不适用

pytest

pytest-bwrap

在 Bubblewrap 沙箱中运行您的测试

2024年2月25日

3 - Alpha

不适用

pytest-cache

pytest 插件,具有跨测试运行缓存的机制

2013年6月4日

3 - Alpha

不适用

pytest-cache-assert

缓存断言数据以简化复杂可序列化数据的回归测试

2023年8月14日

5 - 生产/稳定

pytest (>=6.0.0)

pytest-cagoule

Pytest 插件,只运行受更改影响的测试

2020年1月1日

3 - Alpha

不适用

pytest-cairo

对 cairo-lang 和 starknet 的 Pytest 支持

2022年4月17日

不适用

pytest

pytest-call-checker

一个小型 pytest 工具,可轻松创建测试替身

2022年10月16日

4 - Beta

pytest (>=7.1.3,<8.0.0)

pytest-camel-collect

启用 CamelCase 感知的 pytest 类收集

2020年8月2日

不适用

pytest (>=2.9)

pytest-canonical-data

一个允许将结果与标准结果进行比较的插件,基于先前的运行

2020年5月8日

2 - 预 Alpha

pytest (>=3.5.0)

pytest-caprng

一个在失败时重播 pRNG 状态的插件。

2018年5月2日

4 - Beta

不适用

pytest-capsqlalchemy

用于捕获 SQLAlchemy 查询的 Pytest 插件。

2025年3月19日

4 - Beta

不适用

pytest-capture-deprecatedwarnings

pytest 插件,用于捕获所有弃用警告并将其放入一个文件中

2019年4月30日

不适用

不适用

pytest-capture-sysout

一个学术实验包

2025年5月21日

2 - 预 Alpha

不适用

pytest-capture-warnings

pytest 插件,用于捕获所有警告并将其放入您选择的一个文件中

2022年5月3日

不适用

pytest

pytest-case

pytest.mark.parametrize 的一个清晰、现代的包装器

2024年11月25日

不适用

pytest<9.0.0,>=8.3.3

pytest-cases

在 pytest 中将测试代码与测试用例分离。

2024年9月26日

5 - 生产/稳定

不适用

pytest-cassandra

用于 pytest 的 Cassandra CCM 测试 Fixtures

2017年11月4日

1 - 规划中

不适用

pytest-catchlog

py.test 插件,用于捕获日志消息。这是 pytest-capturelog 的一个分支。

2016年1月24日

4 - Beta

pytest (>=2.6)

pytest-catch-server

Pytest 插件,带有一个用于捕获 HTTP 请求的服务器。

2019年12月12日

5 - 生产/稳定

不适用

pytest-cdist

一个 pytest 插件,用于将您的测试套件分成多个部分

2025年1月30日

不适用

pytest>=7

pytest-celery

Celery 的 Pytest 插件

2025年2月21日

5 - 生产/稳定

不适用

pytest-celery-py37

Celery 的 Pytest 插件(兼容 Python 3.7)

2025年5月23日

5 - 生产/稳定

不适用

pytest-cfg-fetcher

将配置选项传递给您的单元测试。

2024年2月26日

不适用

不适用

pytest-chainmaker

用于 chainmaker 的 pytest 插件

2021年10月15日

不适用

不适用

pytest-chalice

一组用于 AWS Chalice 的 py.test fixtures

2020年7月1日

4 - Beta

不适用

pytest-change-assert

修改报错中文为英文

2022年10月19日

不适用

不适用

pytest-change-demo

把 . 变成 √,把 F 变成 x

2022年3月2日

不适用

pytest

pytest-change-report

把 . 变成 √,把 F 变成 x

2020年9月14日

不适用

pytest

pytest-change-xds

把 . 变成 √,把 F 变成 x

2022年4月16日

不适用

pytest

pytest-chdir

一个用于更改当前工作目录的 pytest fixture

2020年1月28日

不适用

pytest (>=5.0.0,<6.0.0)

pytest-check

一个允许每个测试多次失败的 pytest 插件。

2025年4月4日

5 - 生产/稳定

pytest>=7.0.0

pytest-checkdocs

运行测试时检查 README

2024年4月30日

5 - 生产/稳定

pytest!=8.1.*,>=6; extra == “testing”

pytest-checkipdb

检查是否留下 ipdb 调试的插件

2023年12月4日

5 - 生产/稳定

pytest >=2.9.2

pytest-check-library

检查您丢失的库

2022年7月17日

不适用

不适用

pytest-check-libs

检查您丢失的库

2022年7月17日

不适用

不适用

pytest-check-links

检查文件中的链接

2020年7月29日

不适用

pytest<9,>=7.0

pytest-checklist

Pytest 插件,用于跟踪和报告单元/函数覆盖率。

2025年5月23日

不适用

不适用

pytest-check-mk

pytest 插件,用于测试 Check_MK 检查

2015年11月19日

4 - Beta

pytest

pytest-checkpoint

在 pytest 中恢复检查点

2025年3月30日

不适用

pytest>=8.0.0

pytest-ch-framework

我的 pytest 框架

2024年4月17日

不适用

pytest==8.0.1

pytest-chic-report

简单的 pytest 插件,用于生成报告并发送到即时通讯工具。

2024年11月1日

不适用

pytest>=6.0

pytest-chinesereport

2025年4月16日

4 - Beta

pytest>=3.5.0

pytest-choose

为 pytest 提供根据文本文件中的规则收集用例的能力

2024年2月4日

不适用

pytest >=7.0.0

pytest-chunks

只运行测试套件的一部分

2022年7月5日

不适用

pytest (>=6.0.0)

pytest_cid

比较包含不同版本和编码的匹配 CID 的数据结构

2023年9月1日

4 - Beta

pytest >= 5.0, < 7.0

pytest-circleci

py.test CircleCI 插件

2019年5月3日

不适用

不适用

pytest-circleci-parallelized

在 CircleCI workers 之间并行化 pytest。

2022年10月20日

不适用

不适用

pytest-circleci-parallelized-rjp

在 CircleCI workers 之间并行化 pytest。

2022年6月21日

不适用

pytest

pytest-ckan

CKAN 2.9 pytest 插件和 fixtures 向后移植到 CAKN 2.8

2020年4月28日

4 - Beta

pytest

pytest-clarity

一个为失败的断言提供替代的彩色差异输出的插件。

2021年6月11日

不适用

不适用

pytest-class-fixtures

类作为 PyTest fixtures(和 BDD 步骤)

2024年11月15日

不适用

pytest<9.0.0,>=8.3.3

pytest-cldf

使用 pytest 对 CLDF 数据集进行简单的质量控制

2022年11月7日

不适用

pytest (>=3.6)

pytest-clean-database

一个 pytest 插件,在每次测试后清理您的数据库。

2025年3月14日

3 - Alpha

pytest<9,>=7.0

pytest-cleanslate

单独收集和执行 pytest 测试

2025年4月10日

不适用

pytest

pytest_cleanup

自动化、全面且组织良好的 pytest 测试用例。

2020年1月28日

不适用

不适用

pytest-cleanuptotal

用于 pytest 的清理插件

2024年11月8日

5 - 生产/稳定

不适用

pytest-clerk

一组 pytest fixtures,用于帮助与 Clerk 进行集成测试。

2025年1月30日

不适用

pytest<9.0.0,>=8.0.0

pytest-cli2-ansible

2025年3月5日

不适用

不适用

pytest-click

Click 的 Pytest 插件

2022年2月11日

5 - 生产/稳定

pytest (>=5.0)

pytest-cli-fixtures

自动为自定义 CLI 参数注册 fixtures

2022年7月28日

不适用

pytest (~=7.0)

pytest-clld

2024年10月23日

不适用

pytest>=3.9

pytest-cloud

用于 pytest 测试框架的分布式测试计划插件。

2020年10月5日

6 - 成熟

不适用

pytest-cloudflare-worker

用于测试 cloudflare workers 的 pytest 插件

2021年3月30日

4 - Beta

pytest (>=6.0.0)

pytest-cloudist

轻松将测试分发到云机器

2022年9月2日

4 - Beta

pytest (>=7.1.2,<8.0.0)

pytest-cmake

为 Pytest 提供 CMake 模块

2025年2月17日

不适用

pytest<9,>=4

pytest-cmake-presets

通过 pytest 执行 CMake Presets

2022年12月26日

不适用

pytest (>=7.2.0,<8.0.0)

pytest-cmdline-add-args

用于自定义参数处理和 Allure 报告的 Pytest 插件。此插件允许您在运行测试之前添加参数。

2024年9月1日

不适用

不适用

pytest-cobra

用于测试以太坊区块链智能合约的 PyTest 插件。

2019年6月29日

3 - Alpha

pytest (<4.0.0,>=3.7.1)

pytest-cocotb

将 Cocotb 集成的 Pytest 插件

2025年3月15日

5 - 生产/稳定

pytest; extra == “test”

pytest-codeblock

Pytest 插件,用于收集和测试 reStructuredText 和 Markdown 文件中的代码块。

2025年5月10日

4 - Beta

pytest

pytest_codeblocks

测试您的 README 文件中的代码块

2023年9月17日

5 - 生产/稳定

pytest >= 7.0.0

pytest-codecarbon

用于测量碳排放的 Pytest 插件

2022年6月15日

不适用

pytest

pytest-codecheckers

pytest 插件,用于添加源代码健全性检查(pep8 等)

2010年2月13日

不适用

不适用

pytest-codecov

用于将 pytest-cov 结果上传到 codecov.io 的 Pytest 插件

2025年3月25日

4 - Beta

pytest>=4.6.0

pytest-codegen

自动创建 pytest 测试签名

2020年8月23日

2 - 预 Alpha

不适用

pytest-codeowners

用于按 GitHub CODEOWNERS 选择测试的 Pytest 插件。

2022年3月30日

4 - Beta

pytest (>=6.0.0)

pytest-codestyle

运行 pycodestyle 的 pytest 插件

2020年3月23日

3 - Alpha

不适用

pytest-codspeed

Pytest 插件,用于创建 CodSpeed 基准测试

2025年5月27日

5 - 生产/稳定

pytest>=3.8

pytest-collect-appoint-info

设置您的编码

2023年8月3日

不适用

pytest

pytest-collect-formatter

pytest 收集输出的格式化器

2021年3月29日

5 - 生产/稳定

不适用

pytest-collect-formatter2

pytest 收集输出的格式化器

2021年5月31日

5 - 生产/稳定

不适用

pytest-collect-interface-info-plugin

在 pytest 接口自动化框架中获取已执行接口信息

2023年9月25日

4 - Beta

不适用

pytest-collector

用于收集 pytest 的 Python 包。

2022年8月2日

不适用

pytest (>=7.0,<8.0)

pytest-collect-pytest-interinfo

一个简单的 pytest 插件

2023年9月26日

4 - Beta

不适用

pytest-colordots

为进度指示器着色

2017年10月6日

5 - 生产/稳定

不适用

pytest-commander

PyTest 的交互式 GUI 测试运行器

2021年8月17日

不适用

pytest (<7.0.0,>=6.2.4)

pytest-common-subject

用于测试通用方法不同方面的 pytest 框架

2024年6月12日

不适用

pytest<9,>=3.6

pytest-compare

用于比较调用参数的 pytest 插件。

2023年6月22日

5 - 生产/稳定

不适用

pytest-concurrent

使用多线程、多进程和 gevent 并发执行测试用例

2019年1月12日

4 - Beta

pytest (>=3.1.1)

pytest-config

用于使用 pytest 开发 Python 项目测试套件的基本配置和实用程序。

2014年11月7日

5 - 生产/稳定

不适用

pytest-confluence-report

该包是 pytest 插件,用于将结果上传到 Confluence 页面。

2022年4月17日

不适用

不适用

pytest-console-scripts

用于测试控制台脚本的 Pytest 插件

2023年5月31日

4 - Beta

pytest (>=4.0.0)

pytest-consul

pytest 插件,带 fixtures,用于测试 consul 感知应用程序

2018年11月24日

3 - Alpha

pytest

pytest-container

用于编写基于容器的测试的 Pytest fixtures

2024年12月4日

4 - Beta

pytest>=3.10

pytest-contextfixture

将 pytest fixtures 定义为上下文管理器。

2013年3月12日

4 - Beta

不适用

pytest-contexts

一个插件,用于使用 pytest 运行用 Contexts 框架编写的测试

2021年5月19日

4 - Beta

不适用

pytest-continuous

一个 pytest 插件,用于持续运行测试直到失败或中断。

2024年4月23日

不适用

不适用

pytest-cookies

您的 Cookiecutter 模板的 pytest 插件。🍪

2023年3月22日

5 - 生产/稳定

pytest (>=3.9.0)

pytest-copie

您的 copier 模板的 pytest 插件 📒

2025年4月9日

3 - Alpha

pytest

pytest-copier

一个 pytest 插件,用于帮助测试 Copier 模板

2023年12月11日

4 - Beta

pytest>=7.3.2

pytest-couchdbkit

py.test 扩展,用于使用 couchdbkit 的每个测试 couchdb 数据库

2012年4月17日

不适用

不适用

pytest-count

计数错误并发送电子邮件

2018年1月12日

4 - Beta

不适用

pytest-cov

用于测量覆盖率的 Pytest 插件。

2025年4月5日

5 - 生产/稳定

pytest>=4.6

pytest-cover

用于测量覆盖率的 Pytest 插件。从 `pytest-cov` 分支而来。

2015年8月1日

5 - 生产/稳定

不适用

pytest-coverage

2015年6月17日

不适用

不适用

pytest-coverage-context

PyTest 的覆盖率动态上下文支持,包括子进程

2023年6月28日

4 - Beta

不适用

pytest-coveragemarkers

使用 pytest 标记跟踪功能覆盖率和过滤测试

2025年5月15日

不适用

pytest<8.0.0,>=7.1.2

pytest-cov-exclude

用于根据覆盖率数据排除测试的 Pytest 插件

2016年4月29日

4 - Beta

pytest (>=2.8.0,<2.9.0); extra == ‘dev’

pytest_covid

太多失败,测试较少。

2020年6月24日

不适用

不适用

pytest-cpp

使用 pytest 的运行器发现和执行 C++ 测试

2024年9月18日

5 - 生产/稳定

pytest

pytest-cqase

自定义 qase pytest 插件

2022年8月22日

不适用

pytest (>=7.1.2,<8.0.0)

pytest-cram

使用 pytest 运行 cram 测试。

2020年8月8日

不适用

不适用

pytest-crate

在您的集成测试期间管理 CrateDB 实例

2019年5月28日

3 - Alpha

pytest (>=4.0)

pytest-cratedb

管理用于集成测试的 CrateDB 实例

2024年10月8日

4 - Beta

pytest<9

pytest-cratedb-reporter

一个用于向 CrateDB 报告测试结果的 pytest 插件

2025年3月11日

不适用

pytest>=6.0.0

pytest-crayons

一个用于彩色打印语句的 pytest 插件

2023年10月8日

不适用

pytest

pytest-create

pytest-create

2023年2月15日

1 - 规划中

不适用

pytest-cricri

一个用于 pytest 的 Cricri 插件。

2018年1月27日

不适用

pytest

pytest-crontab

在 crontab 中添加 crontab 任务

2019年12月9日

不适用

不适用

pytest-csv

pytest 的 CSV 输出。

2021年4月22日

不适用

pytest (>=6.0)

pytest-csv-params

使用 CSV 文件进行测试用例参数化的 Pytest 插件

2025年5月29日

5 - 生产/稳定

pytest<9,>=8.3

pytest-culprit

找出 pytest 测试开始失败的最后一个 Git 提交

2025年5月15日

不适用

不适用

pytest-curio

对 curio 的 Pytest 支持。

2024年10月6日

不适用

pytest

pytest-curl-report

pytest 插件,用于生成 curl 命令行报告

2016年12月11日

4 - Beta

不适用

pytest-custom-concurrency

pytest 的自定义分组并发

2021年2月8日

不适用

不适用

pytest-custom-exit-code

在不同场景下以自定义退出代码退出 pytest 测试会话

2019年8月7日

4 - Beta

pytest (>=4.0.2)

pytest-custom-nodeid

pytest-xdist 的自定义分组,重命名测试用例名称和测试用例节点 ID,支持 allure 报告

2021年3月7日

不适用

不适用

pytest-custom-outputs

一个插件,允许用户创建和使用自定义输出,而不是标准的通过和失败。还允许用户在 fixtures 中检索测试结果。

2024年7月10日

4 - Beta

pytest>=6.2.0

pytest-custom-report

配置测试结果显示的符号

2019年1月30日

不适用

pytest

pytest-custom-scheduling

pytest-xdist 的自定义分组,重命名测试用例名称和测试用例节点 ID,支持 allure 报告

2021年3月1日

不适用

不适用

pytest-custom-timeout

当测试超时时使用自定义逻辑。基于 pytest-timeout。

2025年1月8日

4 - Beta

pytest>=8.0.0

pytest-cython

用于测试 Cython 扩展模块的插件

2024年4月5日

5 - 生产/稳定

pytest>=8

pytest-cython-collect

2022年6月17日

不适用

pytest

pytest-darker

一个用于使用 Darker 检查修改代码的 pytest 插件

2024年2月25日

不适用

pytest <7,>=6.0.1

pytest-dash

用于运行 dash 应用程序的 pytest fixtures。

2019年3月18日

不适用

不适用

pytest-dashboard

2025年5月20日

不适用

pytest<8.0.0,>=7.4.3

pytest-data

用于管理 pytest fixtures 数据的有用函数

2016年11月1日

5 - 生产/稳定

不适用

pytest-databases

用于所有数据库的可重用数据库 fixtures。

2025年5月25日

4 - Beta

pytest

pytest-databricks

用于远程 Databricks 笔记本测试的 Pytest 插件

2020年7月29日

不适用

pytest

pytest-datadir

用于测试数据目录和文件的 pytest 插件

2025年5月30日

5 - 生产/稳定

pytest>=7.0

pytest-datadir-mgr

测试数据管理器:下载、artifact 缓存和 tmpdir 上下文。

2023年4月6日

5 - 生产/稳定

pytest (>=7.1)

pytest-datadir-ng

用于 pytest 的 fixtures,允许测试函数/方法轻松从本地文件系统检索测试资源。

2019年12月25日

5 - 生产/稳定

pytest

pytest-datadir-nng

用于 pytest 的 fixtures,允许测试函数/方法轻松从本地文件系统检索测试资源。

2022年11月9日

5 - 生产/稳定

pytest (>=7.0.0,<8.0.0)

pytest-data-extractor

一个 pytest 插件,用于将有关测试的相关元数据提取到外部文件(目前仅支持 json)

2022年7月19日

不适用

pytest (>=7.0.1)

pytest-data-file

用于 yaml 文件测试的 fixture “data” 和 “case_data”

2019年12月4日

不适用

不适用

pytest-datafiles

py.test 插件,用于创建包含预定义文件/目录的“tmp_path”。

2023年2月24日

5 - 生产/稳定

pytest (>=3.6)

pytest-datafixtures

pytest 的数据 fixtures 变得简单。

2025年5月15日

5 - 生产/稳定

不适用

pytest-data-from-files

pytest 插件,提供自动加载的文件数据

2021年10月13日

4 - Beta

pytest

pytest-dataplugin

一个用于管理测试数据档案的 pytest 插件。

2017年9月16日

1 - 规划中

不适用

pytest-datarecorder

一个 py.test 插件,用于记录和比较测试输出。

2024年7月31日

5 - 生产/稳定

pytest

pytest-dataset

用于从 json 或 yaml 文件中按前缀加载不同数据集的 pytest 插件

2023年9月1日

5 - 生产/稳定

不适用

pytest-data-suites

基于类的 pytest 参数化

2024年4月6日

不适用

pytest<9.0,>=6.0

pytest-datatest

一个用于测试驱动数据整理的 pytest 插件(这是 datatest pytest 集成的开发版本)。

2020年10月15日

4 - Beta

pytest (>=3.3)

pytest-db

用于 mysql 查询或更改的会话范围 fixture “db”

2024年8月22日

不适用

pytest

pytest-dbfixtures

py.test 的数据库 fixtures 插件。

2016年12月7日

4 - Beta

不适用

pytest-db-plugin

2021年11月27日

不适用

pytest (>=5.0)

pytest-dbt

使用标准 python 工具单元测试 dbt 模型

2023年6月8日

2 - 预 Alpha

pytest (>=7.0.0,<8.0.0)

pytest-dbt-adapter

一个用于测试 dbt adapter 插件的 pytest 插件

2021年11月24日

不适用

pytest (<7,>=6)

pytest-dbt-conventions

一个用于 linting dbt 项目约定的 pytest 插件

2022年3月2日

不适用

pytest (>=6.2.5,<7.0.0)

pytest-dbt-core

dbt 的 Pytest 扩展。

2024年6月4日

不适用

pytest>=6.2.5; extra == “test”

pytest-dbt-duckdb

无忧测试 dbt 模型,由 DuckDB 提供支持。

2025年2月9日

4 - Beta

pytest>=8.3.4

pytest-dbt-postgres

Pytest 工具,用于单元测试 DBT 和 Postgres 模型

2024年9月3日

不适用

pytest<9.0.0,>=8.3.2

pytest-dbus-notification

pytest 结果的 D-BUS 通知。

2014年3月5日

5 - 生产/稳定

不适用

pytest-dbx

用于运行 dbx(Databricks CLI 扩展)相关代码的单元测试的 Pytest 插件

2022年11月29日

不适用

pytest (>=7.1.3,<8.0.0)

pytest-dc

在您的集成测试期间管理 Docker 容器

2023年8月16日

5 - 生产/稳定

pytest >=3.3

pytest-deadfixtures

一个简单的插件,用于列出 pytest 中未使用的 fixtures

2020年7月23日

5 - 生产/稳定

不适用

pytest-deduplicate

识别重复的单元测试

2023年8月12日

4 - Beta

pytest

pytest-deepcov

deepcov

2021年3月30日

不适用

不适用

pytest_defer

用于 pytest 的“defer”fixture

2024年11月13日

不适用

pytest>=8.3

pytest-demo-plugin

pytest示例插件

2021年5月15日

不适用

不适用

pytest-dependency

管理测试的依赖关系

2023年12月31日

4 - Beta

不适用

pytest-depends

依赖于其他测试的测试

2020年4月5日

5 - 生产/稳定

pytest (>=3)

pytest-deprecate

用警告注释将测试标记为正在测试已弃用功能。

2019年7月1日

不适用

不适用

pytest-deprecator

一个简单的 pytest 插件

2024年12月2日

4 - Beta

pytest>=6.2.0

pytest-describe

pytest 的描述风格插件

2024年2月10日

5 - 生产/稳定

pytest <9,>=4.6

pytest-describe-it

富文本描述插件

2019年7月19日

4 - Beta

pytest

pytest-deselect-if

一个插件,用于取消选择 pytest 测试,而不是使用 skipif

2024年12月26日

4 - Beta

pytest>=6.2.0

pytest-devpi-server

py.test 的 DevPI 服务器 fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-dfm

pytest-dfm 为 DV Flow Manager(硅设计构建系统)提供了 pytest 集成

2025年5月10日

不适用

pytest

pytest-dhos

DHOS 服务和库中 pytest 的通用 fixtures

2022年9月7日

不适用

不适用

pytest-diamond

用于 diamond 的 pytest 插件

2015年8月31日

4 - Beta

不适用

pytest-dicom

提供 DICOM fixtures 的 pytest 插件

2018年12月19日

3 - Alpha

pytest

pytest-dictsdiff

2019年7月26日

不适用

不适用

pytest-diff

一个简单的 pytest 插件

2019年3月30日

4 - Beta

pytest (>=3.5.0)

pytest-diff-selector

获取受代码更改影响的测试(使用 git)

2022年2月24日

4 - Beta

pytest (>=6.2.2) ; extra == ‘all’

pytest-difido

PyTest 插件,用于生成 Difido 报告

2022年10月23日

4 - Beta

pytest (>=4.0.0)

pytest-dir-equal

pytest-dir-equals 是一个 pytest 插件,提供辅助功能以断言目录相等性,从而实现黄金测试

2023年12月11日

4 - Beta

pytest>=7.3.2

pytest-dirty

用于节俭测试的静态导入分析。

2024年7月11日

3 - Alpha

pytest>=8.2; extra == “dev”

pytest-disable

pytest 插件,用于禁用测试并将其从测试运行中跳过

2015年9月10日

4 - Beta

不适用

pytest-disable-plugin

每个测试禁用插件

2019年2月28日

4 - Beta

pytest (>=3.5.0)

pytest-discord

一个 pytest 插件,用于将测试结果通知到 Discord 频道。

2024年5月11日

4 - Beta

pytest!=6.0.0,<9,>=3.3.2

pytest-discover

Pytest 插件,用于将发现的测试记录到文件中

2024年3月26日

不适用

pytest

pytest-ditto

pytest 插件的快照测试,仪式感最少,持久化格式灵活。

2024年6月9日

4 - Beta

pytest>=3.5.0

pytest-ditto-pandas

用于 pandas 快照的 pytest-ditto 插件。

2024年5月29日

4 - Beta

pytest>=3.5.0

pytest-ditto-pyarrow

用于 pyarrow 表的 pytest-ditto 插件。

2024年6月9日

4 - Beta

pytest>=3.5.0

pytest-django

pytest 的 Django 插件。

2025年4月3日

5 - 生产/稳定

pytest>=7.0.0

pytest-django-ahead

pytest 的 Django 插件。

2016年10月27日

5 - 生产/稳定

pytest (>=2.9)

pytest-djangoapp

优秀的 pytest 插件,可帮助您进行 Django 可插拔应用程序测试。

2023年5月19日

4 - Beta

pytest

pytest-django-cache-xdist

用于 pytest 的 djangocachexdist 插件

2020年5月12日

4 - Beta

不适用

pytest-django-casperjs

将 CasperJS 作为 pytest fixture 集成到您的 django 测试中。

2015年3月15日

2 - 预 Alpha

不适用

pytest-django-class

一个 pytest 插件,用于在类范围的 fixtures 中运行 django

2023年8月8日

4 - Beta

不适用

pytest-django-docker-pg

2024年6月13日

5 - 生产/稳定

pytest<9.0.0,>=7.0.0

pytest-django-dotenv

pytest 插件,用于使用 django-dotenv 设置环境变量

2019年11月26日

4 - Beta

pytest (>=2.6.0)

pytest-django-factories

您的 Django 模型的工厂,可用作 Pytest fixtures。

2020年11月12日

4 - Beta

不适用

pytest-django-filefield

将 FileField.storage 替换为可在全局打补丁的东西。

2022年5月9日

5 - 生产/稳定

pytest >= 5.2

pytest-django-gcir

pytest 的 Django 插件。

2018年3月6日

5 - 生产/稳定

不适用

pytest-django-haystack

在测试之间清理您的 Haystack 索引

2017年9月3日

5 - 生产/稳定

pytest (>=2.3.4)

pytest-django-ifactory

pytest-django 的模型实例工厂

2025年4月30日

5 - 生产/稳定

不适用

pytest-django-lite

将 py.test 与 Django 集成的最低要求。

2014年1月30日

不适用

不适用

pytest-django-liveserver-ssl

2025年1月9日

3 - Alpha

不适用

pytest-django-model

一种测试 Django 模型的简单方法

2019年2月14日

4 - Beta

不适用

pytest-django-ordering

一个 pytest 插件,用于保留 Django 运行测试的顺序。

2019年7月25日

5 - 生产/稳定

pytest (>=2.3.0)

pytest-django-queries

从您的 django 数据库性能测试生成性能报告。

2021年3月1日

不适用

不适用

pytest-djangorestframework

pytest 的 djangorestframework 插件

2019年8月11日

4 - Beta

不适用

pytest-django-rq

一个 pytest 插件,用于编写 django-rq 的单元测试

2020年4月13日

4 - Beta

不适用

pytest-django-sqlcounts

py.test 插件,用于报告每个 django 测试用例执行的 SQL 数量。

2015年6月16日

4 - Beta

不适用

pytest-django-testing-postgresql

将临时 PostgreSQL 数据库与 pytest-django 一起使用

2022年1月31日

4 - Beta

不适用

pytest-doc

py.test 的文档插件。

2015年6月28日

5 - 生产/稳定

不适用

pytest-docfiles

pytest 插件,用于测试文档中的代码块。

2021年12月22日

4 - Beta

pytest (>=3.7.0)

pytest-docgen

一个用于基于 pytest 的测试套件的 RST 文档生成器

2020年4月17日

不适用

不适用

pytest-docker

用于基于 Docker 和 Docker Compose 的测试的简单 pytest fixtures

2025年5月26日

不适用

pytest<9.0,>=4.0

pytest-docker-apache-fixtures

用于 apache2 (httpd) 测试的 Pytest fixtures。

2024年8月12日

4 - Beta

pytest

pytest-docker-butla

2019年6月16日

3 - Alpha

不适用

pytest-dockerc

从 Docker API 运行、管理和停止 Docker Compose 项目

2020年10月9日

5 - 生产/稳定

pytest (>=3.0)

pytest-docker-compose

在您的集成测试期间管理 Docker 容器

2021年1月26日

5 - 生产/稳定

pytest (>=3.3)

pytest-docker-compose-v2

在您的集成测试期间管理 Docker 容器

2024年12月11日

4 - Beta

pytest>=7.2.2

pytest-docker-db

一个用于 pytest 使用 docker 数据库的插件

2021年3月20日

5 - 生产/稳定

pytest (>=3.1.1)

pytest-docker-fixtures

pytest docker fixtures

2025年5月14日

3 - Alpha

pytest

pytest-docker-git-fixtures

用于使用 git scm 进行测试的 Pytest fixtures。

2024年8月12日

4 - Beta

pytest

pytest-docker-haproxy-fixtures

用于 haproxy 测试的 Pytest fixtures。

2024年8月12日

4 - Beta

pytest

pytest-docker-pexpect

用于使用 pexpect 和 docker 编写功能测试的 pytest 插件

2019年1月14日

不适用

pytest

pytest-docker-postgresql

一个简单的 pytest 插件

2019年9月24日

4 - Beta

pytest (>=3.5.0)

pytest-docker-py

易于使用、易于扩展的 pytest 插件,最低限度地利用 docker-py。

2018年11月27日

不适用

pytest (==4.0.0)

pytest-docker-registry-fixtures

用于 docker 注册表测试的 Pytest fixtures。

2024年8月12日

4 - Beta

pytest

pytest-docker-service

pytest 插件,用于启动 docker 容器

2024年1月3日

3 - Alpha

pytest (>=7.1.3)

pytest-docker-squid-fixtures

用于 squid 测试的 Pytest fixtures。

2024年8月12日

4 - Beta

pytest

pytest-docker-tools

用于 pytest 的 Docker 集成测试

2025年3月16日

4 - Beta

pytest>=6.0.1

pytest-docs

pytest 的文档工具

2018年11月11日

4 - Beta

pytest (>=3.5.0)

pytest-docstyle

运行 pydocstyle 的 pytest 插件

2020年3月23日

3 - Alpha

不适用

pytest-doctest-custom

一个 py.test 插件,用于自定义 doctest 结果的字符串表示。

2016年7月25日

4 - Beta

不适用

pytest-doctest-ellipsis-markers

为 doctests 设置 ELLIPSIS_MARKER 的附加值

2018年1月12日

4 - Beta

不适用

pytest-doctest-import

一个简单的 pytest 插件,用于导入名称并将其添加到 doctest 命名空间。

2018年11月13日

4 - Beta

pytest (>=3.3.0)

pytest-doctest-mkdocstrings

使用 Markdown 文档字符串(代码块 ```)运行 pytest --doctest-modules

2024年3月2日

不适用

pytest

pytest-doctestplus

具有高级 doctest 功能的 Pytest 插件。

2025年1月25日

5 - 生产/稳定

pytest>=4.6

pytest-documentary

一个简单的 pytest 插件,用于生成测试文档

2024年7月11日

不适用

pytest

pytest-dogu-report

用于 dogu 报告的 pytest 插件

2023年7月7日

不适用

不适用

pytest-dogu-sdk

Dogu 的 pytest 插件

2023年12月14日

不适用

不适用

pytest-dolphin

我们在内部使用的一些额外东西

2016年11月30日

4 - Beta

pytest (==3.0.4)

pytest-donde

将每个测试项的 pytest 会话特性(覆盖率和持续时间)记录到持久文件中,并在您自己的插件或脚本中使用它们。

2023年10月1日

4 - Beta

pytest >=7.3.1

pytest-doorstop

一个 pytest 插件,用于将测试结果添加到 doorstop 项中。

2020年6月9日

4 - Beta

pytest (>=3.5.0)

pytest-dotenv

一个 py.test 插件,在运行测试之前解析环境文件

2020年6月16日

4 - Beta

pytest (>=5.0.0)

pytest-dot-only-pkcopley

一个用于只运行单个测试的 Pytest 标记

2023年10月27日

不适用

不适用

pytest-dparam

@pytest.mark.parametrize 更易读的替代品。

2024年8月27日

6 - 成熟

pytest

pytest-dpg

pytest-dpg 是一个用于测试 Dear PyGui (DPG) 应用程序的 pytest 插件

2024年8月13日

不适用

不适用

pytest-draw

pytest 插件,用于随机选择特定数量的测试

2023年3月21日

3 - Alpha

pytest

pytest-drf

pytest 的 Django REST 框架插件。

2022年7月12日

5 - 生产/稳定

pytest (>=3.7)

pytest-drivings

允许在本地或远程运行 webdriver 自动化的工具

2021年1月13日

不适用

不适用

pytest-drop-dup-tests

一个 Pytest 插件,用于在收集期间删除重复的测试

2024年3月4日

5 - 生产/稳定

pytest >=7

pytest-dryci

pytest 的测试缓存插件

2024年9月27日

4 - Beta

不适用

pytest-dryrun

一个 Pytest 插件,用于在收集期间忽略测试,而不将其报告到测试摘要中。

2025年1月19日

5 - 生产/稳定

pytest<9,>=7.40

pytest-dsl

一个基于 pytest 的 DSL 测试框架

2025年5月29日

不适用

pytest>=7.0.0

pytest-dummynet

一个 py.test 插件,提供对 dummynet 的访问。

2021年12月15日

5 - 生产/稳定

pytest

pytest-dump2json

一个用于将测试结果转储到 json 的 pytest 插件。

2015年6月29日

不适用

不适用

pytest-duration-insights

2024年7月15日

不适用

不适用

pytest-durations

Pytest 插件,报告 fixtures 和测试函数的执行时间。

2025年4月29日

5 - 生产/稳定

pytest>=4.6

pytest-dynamicrerun

一个 pytest 插件,可根据测试结果和输出动态重新运行测试。

2020年8月15日

4 - Beta

不适用

pytest-dynamodb

用于 pytest 的 DynamoDB fixtures

2025年4月4日

5 - 生产/稳定

pytest

pytest-easy-addoption

pytest-easy-addoption:轻松使用 pytest addoption

2020年1月22日

不适用

不适用

pytest-easyMPI

支持 pytest 中 mpi 测试的包

2020年10月21日

不适用

不适用

pytest-easyread

pytest 插件,使报告的终端打印输出更易读

2017年11月17日

不适用

不适用

pytest-easy-server

用于轻松测试服务器的 Pytest 插件

2021年5月1日

4 - Beta

pytest (<5.0.0,>=4.3.1) ; python_version < “3.5”

pytest-ebics-sandbox

一个用于测试 EBICS 沙盒服务器的 pytest 插件。需要 docker。

2022年8月15日

不适用

不适用

pytest-ec2

在 EC2 实例上执行 Pytest

2019年10月22日

3 - Alpha

不适用

pytest-echo

pytest 插件,允许转储环境变量、包版本和通用属性

2025年4月27日

5 - 生产/稳定

pytest>=8.3.3

pytest-edit

使用 `pytest --edit` 编辑失败测试的源代码。

2024年11月17日

不适用

pytest

pytest-ekstazi

使用 Ekstazi 算法选择测试的 Pytest 插件

2022年9月10日

不适用

pytest

pytest-elasticsearch

用于 Pytest 的 Elasticsearch fixtures 和 fixture 工厂。

2024年12月3日

5 - 生产/稳定

pytest>=7.0

pytest-elasticsearch-test

用于 Pytest 的 Elasticsearch fixtures 和 fixture 工厂。

2025年4月20日

5 - 生产/稳定

pytest>=7.0

pytest-elbase

Elbase pytest 插件

2025年4月15日

不适用

不适用

pytest-elements

帮助自动化用户界面的工具

2021年1月13日

不适用

pytest (>=5.4,<6.0)

pytest-eliot

用于 pytest 的 eliot 插件。

2022年8月31日

1 - 规划中

pytest (>=5.4.0)

pytest-elk-reporter

一个简单的 pytest 插件

2024年7月25日

4 - Beta

pytest>=3.5.0

pytest-email

发送执行结果邮件

2020年7月8日

不适用

pytest

pytest-embedded

一个专为嵌入式测试设计的 pytest 插件。

2025年4月22日

5 - 生产/稳定

pytest>=7.0

pytest-embedded-arduino

让 pytest-embedded 插件与 Arduino 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-idf

让 pytest-embedded 插件与 ESP-IDF 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-jtag

让 pytest-embedded 插件与 JTAG 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-nuttx

让 pytest-embedded 插件与 NuttX 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-qemu

让 pytest-embedded 插件与 QEMU 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-serial

让 pytest-embedded 插件与 Serial 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-serial-esp

让 pytest-embedded 插件与 Espressif 目标板一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embedded-wokwi

让 pytest-embedded 插件与 Wokwi CLI 一起工作。

2025年4月22日

5 - 生产/稳定

不适用

pytest-embrace

💝 数据类即测试。一次性描述运行时,并通过无样板代码的方式倍增覆盖率。

2023年3月25日

不适用

pytest (>=7.0,<8.0)

pytest-emoji

一个在测试结果报告中添加表情符号的 pytest 插件

2019年2月19日

4 - Beta

pytest (>=4.2.1)

pytest-emoji-output

Pytest 插件,用于表示支持表情符号的测试输出

2023年4月9日

4 - Beta

pytest (==7.0.1)

pytest-enabler

启用已安装的 pytest 插件

2025年5月16日

5 - 生产/稳定

pytest!=8.1.*,>=6; extra == “test”

pytest-encode

设置您的编码和日志记录器

2021年11月6日

不适用

不适用

pytest-encode-kane

设置您的编码和日志记录器

2021年11月16日

不适用

pytest

pytest-encoding

设置您的编码和日志记录器

2023年8月11日

不适用

pytest

pytest_energy_reporter

pytest 的能量估算报告器

2024年3月28日

3 - Alpha

pytest<9.0.0,>=8.1.1

pytest-enhanced-reports

pytest 的增强测试报告

2022年12月15日

不适用

不适用

pytest-enhancements

pytest 改进(上游已拒绝)

2019年10月30日

4 - Beta

不适用

pytest-env

允许添加环境变量的 pytest 插件。

2024年9月17日

5 - 生产/稳定

pytest>=8.3.3

pytest-envfiles

一个 py.test 插件,在运行测试之前解析环境文件

2015年10月8日

3 - Alpha

不适用

pytest-env-info

将运行中的 pytest 信息推送到环境变量中

2017年11月25日

4 - Beta

pytest (>=3.1.1)

pytest-environment

Pytest 环境

2024年3月17日

1 - 规划中

不适用

pytest-envraw

py.test 插件,允许添加环境变量。

2020年8月27日

4 - Beta

pytest (>=2.6.0)

pytest-envvars

Pytest 插件,用于验证您测试中环境变量的使用

2020年6月13日

5 - 生产/稳定

pytest (>=3.0.0)

pytest-env-yaml

2019年4月2日

不适用

不适用

pytest-eradicate

pytest 插件,用于检查注释掉的代码

2020年9月8日

不适用

pytest (>=2.4.2)

pytest_erp

py.test 插件,用于动态将测试信息发送到报告门户

2015年1月13日

不适用

不适用

pytest-error-for-skips

Pytest 插件,将跳过的测试视为测试失败

2019年12月19日

4 - Beta

pytest (>=4.6)

pytest-errxfail

pytest 插件,如果测试在捕获的输出中以指定的错误消息失败,则将其标记为 xfailed

2025年1月6日

4 - Beta

pytest>=6.2.0

pytest-essentials

一个 Pytest 插件,提供软断言等基本实用程序。

2025年5月19日

3 - Alpha

pytest>=7.0

pytest-eth

用于测试以太坊虚拟机 (EVM) 智能合约的 PyTest 插件。

2020年8月14日

1 - 规划中

不适用

pytest-ethereum

pytest-ethereum:用于以太坊项目的 Pytest 库。

2019年6月24日

3 - Alpha

pytest (==3.3.2); extra == ‘dev’

pytest-eucalyptus

用于 BDD 的 Pytest 插件

2022年6月28日

不适用

pytest (>=4.2.0)

pytest-evals

一个用于运行和分析 LLM 评估测试的 pytest 插件

2025年2月2日

不适用

pytest>=7.0.0

pytest-eventlet

将 eventlet monkey-patch 应用为 pytest 插件。

2021年10月4日

不适用

pytest ; extra == ‘dev’

pytest-everyfunc

一个 pytest 插件,用于使用覆盖率检测完全未测试的函数

2025年4月30日

4 - Beta

pytest

pytest_evm

包含测试基于 Web3 项目工具的测试包

2024年9月23日

4 - Beta

pytest<9.0.0,>=8.1.1

pytest_exact_fixtures

解析 Lucene 和 Elasticsearch 语法中的查询

2019年2月4日

不适用

不适用

pytest-examples

pytest 插件,用于测试文档字符串和 Markdown 文件中的示例。

2025年5月6日

不适用

pytest>=7

pytest-exasol-backend

2025年2月11日

不适用

pytest<9,>=7

pytest-exasol-extension

2025年2月11日

不适用

pytest<9,>=7

pytest-exasol-itde

2024年11月22日

不适用

pytest<9,>=7

pytest-exasol-saas

2024年11月22日

不适用

pytest<9,>=7

pytest-exasol-slc

2025年2月11日

不适用

pytest<9,>=7

pytest-excel

pytest 插件,用于生成 excel 报告

2024年6月18日

5 - 生产/稳定

pytest>3.6

pytest-exceptional

更好的异常

2017年3月16日

4 - Beta

不适用

pytest-exception-script

通过异常脚本遍历您的代码,检查其对失败的弹性。

2020年8月4日

3 - Alpha

pytest

pytest-executable

用于测试可执行文件的 pytest 插件

2023年10月7日

不适用

pytest <8,>=5

pytest-execution-timer

Pytest 执行阶段的计时器。

2021年12月24日

4 - Beta

不适用

pytest-exit-code

一个 pytest 插件,用于覆盖内置的退出代码,以保留更多关于测试结果的信息。

2024年5月6日

4 - Beta

pytest>=6.2.0

pytest-exit-status

增强。

2025年1月25日

不适用

pytest>=8.0.0

pytest-expect

py.test 插件,用于存储测试预期并根据其标记测试

2016年4月21日

4 - Beta

不适用

pytest-expectdir

一个 pytest 插件,提供初始/预期目录,并检查测试是否将初始目录转换为预期目录

2023年3月19日

5 - 生产/稳定

pytest (>=5.0)

pytest-expected

记录和回放您的预期

2025年2月26日

不适用

pytest

pytest-expecter

使用 expecter 和 pytest 更好地测试。

2022年9月18日

5 - 生产/稳定

不适用

pytest-expectr

此插件用于使用 pytest 框架预期多个断言。

2018年10月5日

不适用

pytest (>=2.4.2)

pytest-expect-test

一个用于支持 pytest 中预期测试的 fixture

2023年4月10日

4 - Beta

pytest (>=3.5.0)

pytest-experiments

一个 pytest 插件,旨在帮助面向研究的软件项目的开发人员跟踪其数值实验的结果。

2021年12月13日

4 - Beta

pytest (>=6.2.5,<7.0.0)

pytest-explicit

一个 Pytest 插件,默认忽略某些已标记的测试

2021年6月15日

5 - 生产/稳定

pytest

pytest-exploratory

pytest 的交互式控制台。

2024年9月18日

不适用

pytest>=6.2

pytest-explorer

用于探索和运行测试的终端 UI

2023年8月1日

不适用

不适用

pytest-ext

用于自动化测试的 pytest 插件

2024年3月31日

不适用

pytest>=5.3

pytest-extended-mock

一个用于轻松设置 mock 的 pytest 扩展

2025年3月12日

不适用

pytest<9.0.0,>=8.3.5

pytest-extensions

pytest 的帮助程序集合,以简化测试

2022年8月17日

4 - Beta

pytest ; extra == ‘testing’

pytest-external-blockers

因外部原因而被阻塞的测试的特殊结果

2021年10月5日

不适用

pytest

pytest_extra

用于编写 pytest 测试的一些辅助工具。

2014年8月14日

不适用

不适用

pytest-extra-durations

一个 pytest 插件,用于按函数和模块获取持续时间。

2020年4月21日

4 - Beta

pytest (>=3.5.0)

pytest-extra-markers

通过 CLI 标志动态启用/禁用测试的额外 pytest 标记

2023年3月5日

4 - Beta

pytest

pytest-f3ts

Pytest 插件,用于将测试结果和信息传递给 FixturFab Test Runner GUI

2025年5月8日

不适用

pytest<8.0.0,>=7.2.1

pytest-fabric

提供测试实用程序,用于使用 docker 容器运行 fabric 任务测试

2018年9月12日

5 - 生产/稳定

不适用

pytest-factory

使用工厂进行 py.test 的测试设置

2020年9月6日

3 - Alpha

pytest (>4.3)

pytest-factoryboy

pytest 的 Factory Boy 支持。

2024年3月5日

6 - 成熟

pytest (>=6.2)

pytest-factoryboy-fixtures

生成允许使用类型提示的 pytest fixtures

2020年6月25日

不适用

不适用

pytest-factoryboy-state

简单的 factoryboy 随机状态管理

2022年3月22日

5 - 生产/稳定

pytest (>=5.0)

pytest-failed-screen-record

当 pytest 失败时创建屏幕录像

2023年1月5日

4 - Beta

pytest (>=7.1.2d,<8.0.0)

pytest-failed-screenshot

测试用例失败,截屏,保存,附加到 allure

2021年4月21日

不适用

不适用

pytest-failed-to-verify

一个 pytest 插件,有助于更好地区分实际测试失败和设置不稳定。

2019年8月8日

5 - 生产/稳定

pytest (>=4.1.0)

pytest-fail-slow

使运行时间过长的测试失败

2024年6月1日

不适用

pytest>=7.0

pytest-failure-tracker

一个用于跟踪多次运行中测试失败的 pytest 插件

2024年7月17日

不适用

pytest>=6.0.0

pytest-faker

Faker 与 pytest 框架的集成。

2016年12月19日

6 - 成熟

不适用

pytest-falcon

Falcon 的 Pytest 辅助工具。

2016年9月7日

4 - Beta

不适用

pytest-fantasy

Flask Fantasy Framework 的 Pytest 插件

2019年3月14日

不适用

不适用

pytest-fastapi

2020年12月27日

不适用

不适用

pytest-fastapi-deps

一个 fixture,允许轻松替换用于测试的 fastapi 依赖项

2022年7月20日

5 - 生产/稳定

pytest

pytest-fastest

使用 SCM 和覆盖率只运行必要的测试

2023年10月4日

4 - Beta

pytest (>=4.4)

pytest-fast-first

Pytest 插件,首先运行快速测试

2023年1月19日

3 - Alpha

pytest

pytest-faulthandler

py.test 插件,为测试激活故障处理模块(虚拟包)

2019年7月4日

6 - 成熟

pytest (>=5.0)

pytest-fauna

用于 Fauna DB 的一组有用的测试 fixtures。

2025年1月3日

不适用

不适用

pytest-fauxfactory

fauxfactory 与 pytest 的集成。

2017年12月6日

5 - 生产/稳定

pytest (>=3.2)

pytest-figleaf

py.test figleaf 覆盖率插件

2010年1月18日

5 - 生产/稳定

不适用

pytest-file

Pytest 文件

2024年3月18日

1 - 规划中

不适用

pytest-filecov

一个 pytest 插件,用于检测未使用的文件

2021年6月27日

4 - Beta

pytest

pytest-filedata

轻松从文件中加载测试数据

2024年4月29日

5 - 生产/稳定

不适用

pytest-filemarker

一个 pytest 插件,用于在文件更改时运行标记的测试。

2020年12月1日

不适用

pytest

pytest-file-watcher

Pytest-File-Watcher 是一个 CLI 工具,它监视代码更改并在更改的文件上运行 pytest。

2023年3月23日

不适用

pytest

pytest-filter-case

按标记运行测试用例过滤器

2020年11月5日

不适用

不适用

pytest-filter-subpackage

基于子包过滤的 Pytest 插件

2024年3月4日

5 - 生产/稳定

pytest >=4.6

pytest-find-dependencies

一个用于查找测试之间依赖关系的 pytest 插件

2024年3月16日

4 - Beta

pytest >=4.3.0

pytest-finer-verdicts

一个 pytest 插件,用于将非断言失败视为测试错误。

2020年6月18日

不适用

pytest (>=5.4.3)

pytest-firefox

2025年2月28日

不适用

不适用

pytest-fixturecheck

一个 pytest 插件,用于在测试执行前检查 fixture 的有效性

2025年5月17日

3 - Alpha

pytest>=6.0.0

pytest-fixture-classes

作为类的 Fixtures,与依赖注入、自动完成、类型检查器和语言服务器良好配合

2023年9月2日

5 - 生产/稳定

pytest

pytest-fixturecollection

一个 pytest 插件,用于根据测试使用的 fixtures 收集测试

2024年2月22日

4 - Beta

pytest >=3.5.0

pytest-fixture-config

py.test 的 fixture 配置实用程序

2024年10月17日

5 - 生产/稳定

pytest

pytest-fixture-forms

一个 pytest 插件,用于创建在测试之间持有不同形式的 fixtures。

2024年12月6日

不适用

pytest<9.0.0,>=7.0.0

pytest-fixture-maker

Pytest 插件,用于从 YAML 文件加载 fixtures

2021年9月21日

不适用

不适用

pytest-fixture-marker

一个 pytest 插件,用于根据使用的 fixtures 添加标记。

2020年10月11日

5 - 生产/稳定

不适用

pytest-fixture-order

pytest 插件,用于控制 fixture 评估顺序

2022年5月16日

5 - 生产/稳定

pytest (>=3.0)

pytest-fixture-ref

允许用户在没有名称匹配魔法的情况下引用 fixtures。

2022年11月17日

4 - Beta

不适用

pytest-fixture-remover

一个 LibCST codemod,用于删除通过 usefixtures 装饰器应用的 pytest fixtures,及其参数化。

2024年2月14日

5 - 生产/稳定

不适用

pytest-fixture-rtttg

fixture 名称冲突时发出警告或失败

2022年2月23日

不适用

pytest (>=7.0.1,<8.0.0)

pytest-fixtures

pytest 的通用 fixtures

2019年5月1日

5 - 生产/稳定

不适用

pytest-fixture-tools

pytest 插件,提供 fixture 工具

2025年4月30日

6 - 成熟

pytest

pytest-fixture-typecheck

一个 pytest 插件,用于在运行时断言类型注解。

2021年8月24日

不适用

pytest

pytest-flake8

pytest 插件,用于检查 FLAKE8 要求

2024年11月9日

5 - 生产/稳定

pytest>=7.0

pytest-flake8-path

一个用于测试 flake8 插件的 pytest fixture。

2024年10月25日

5 - 生产/稳定

pytest

pytest-flake8-v2

pytest 插件,用于检查 FLAKE8 要求

2022年3月1日

5 - 生产/稳定

pytest (>=7.0)

pytest-flake-detection

持续运行您的测试以检测不稳定测试

2024年11月29日

4 - Beta

pytest>=6.2.0

pytest-flakefinder

多次运行测试以发现不稳定性。

2022年10月26日

4 - Beta

pytest (>=2.7.1)

pytest-flakes

pytest 插件,用于使用 pyflakes 检查源代码

2021年12月2日

5 - 生产/稳定

pytest (>=5)

pytest-flaptastic

Flaptastic py.test 插件

2019年3月17日

不适用

不适用

pytest-flask

一组用于测试 Flask 应用程序的 py.test fixtures。

2023年10月23日

5 - 生产/稳定

pytest >=5.2

pytest-flask-ligand

Pytest fixtures 和辅助函数,用于测试 flask-ligand 微服务。

2023年4月25日

4 - Beta

pytest (~=7.3)

pytest-flask-sqlalchemy

一个 pytest 插件,用于通过数据库事务在 Flask-SQlAlchemy 中保持测试隔离。

2022年4月30日

4 - Beta

pytest (>=3.2.1)

pytest-flask-sqlalchemy-transactions

使用 pytest、Flask 和 SQLalchemy 在事务中运行测试。

2018年8月2日

4 - Beta

pytest (>=3.2.1)

pytest-flexreport

2023年4月15日

4 - Beta

pytest

pytest-fluent

一个 pytest 插件,用于通过 fluentd 提供日志

2024年8月14日

4 - Beta

pytest>=7.0.0

pytest-fluentbit

一个 pytest 插件,用于通过 fluentbit 提供日志

2023年6月16日

4 - Beta

pytest (>=7.0.0)

pytest-fly

pytest 运行器和观察器

2025年5月19日

3 - Alpha

pytest

pytest-flyte

用于简化 Flyte 集成测试的 Pytest fixture

2021年5月3日

不适用

pytest

pytest-focus

一个 pytest 插件,通过屏幕通知提醒用户失败的测试用例

2019年5月4日

4 - Beta

pytest

pytest-forbid

2023年3月7日

不适用

pytest (>=7.2.2,<8.0.0)

pytest-forcefail

py.test 插件,使测试失败,无论 pytest.mark.xfail

2018年5月15日

4 - Beta

不适用

pytest-forward-compatability

一个名称,用于避免拼写错误 pytest-foward-compatibility

2020年9月6日

不适用

不适用

pytest-forward-compatibility

一个 pytest 插件,用于为向前兼容性填充 pytest 命令行选项

2020年9月29日

不适用

不适用

pytest-frappe

Pytest Frappe 插件 - 一组用于测试 Frappe 应用程序的 pytest fixture

2024年7月30日

4 - Beta

pytest>=7.0.0

pytest-freethreaded

用于运行并行测试的 pytest 插件

2024年10月3日

5 - 生产/稳定

pytest

pytest-freezeblaster

使用 fixture 将测试包装在 freeze_time 中

2025年2月11日

不适用

pytest>=6.2.5

pytest-freezegun

使用 fixture 将测试包装在 freeze_time 中

2020年7月19日

4 - Beta

pytest (>=3.0.0)

pytest-freezer

Pytest 插件,为 spulec/freezegun 提供 fixture 接口

2024年12月12日

不适用

pytest>=3.6

pytest-freeze-reqs

检查需求文件是否已冻结

2021年4月29日

不适用

不适用

pytest-frozen-uuids

为你的测试确定性地冻结 UUID

2022年4月17日

不适用

pytest (>=3.0)

pytest-func-cov

用于测量函数覆盖率的 Pytest 插件

2021年4月15日

3 - Alpha

pytest (>=5)

pytest-funcnodes

funcnodes 的测试插件

2025年3月19日

4 - Beta

pytest>=6.2.0

pytest-funparam

一种参数化测试用例的替代方法。

2021年12月2日

4 - Beta

pytest >=4.6.0

pytest-fv

支持运行功能验证作业的 pytest 扩展

2025年2月27日

不适用

pytest

pytest-fxa

针对 Firefox 帐户的 pytest 插件

2018年8月28日

5 - 生产/稳定

不适用

pytest-fxa-mte

针对 Firefox 帐户的 pytest 插件

2024年10月2日

5 - 生产/稳定

不适用

pytest-fxtest

2020年10月27日

不适用

不适用

pytest-fzf

基于 fzf 的 pytest 测试选择器

2025年1月6日

4 - Beta

pytest>=6.0.0

pytest_gae

适用于使用 Google AppEngine 编写的应用程序的 pytest 插件

2016年8月3日

3 - Alpha

不适用

pytest-gak

一个 Pytest 插件和命令行工具,用于 Pytest 的交互式测试

2025年4月10日

不适用

不适用

pytest-gather-fixtures

并发设置异步 pytest fixture

2024年8月18日

不适用

pytest>=7.0.0

pytest-gc

py.test 的垃圾回收器插件

2018年2月1日

不适用

不适用

pytest-gcov

使用 gcov 测量 C 库的测试覆盖率

2018年2月1日

3 - Alpha

不适用

pytest-gcs

用于 Pytest 的 GCS fixture 和 fixture 工厂。

2025年1月24日

5 - 生产/稳定

pytest>=6.2

pytest-gee

适用于你的基于 GEE 的包的 Python 插件。

2025年5月11日

3 - Alpha

pytest

pytest-gevent

确保在调用 pytest 时 gevent 已正确打补丁

2020年2月25日

不适用

pytest

pytest-gherkin

一个灵活的框架,用于执行 BDD gherkin 测试

2019年7月27日

3 - Alpha

pytest (>=5.0.0)

pytest-gh-log-group

适用于 gh actions 的 pytest 插件

2022年1月11日

3 - Alpha

pytest

pytest-ghostinspector

用于查找/执行 Ghost Inspector 测试

2016年5月17日

3 - Alpha

不适用

pytest-girder

一组用于测试 Girder 应用程序的 pytest fixture。

2025年5月29日

不适用

pytest>=3.6

pytest-git

py.test 的 Git 仓库 fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-gitconfig

提供一个 Git 配置沙箱用于测试

2024年8月11日

4 - Beta

pytest>=7.1.2

pytest-gitcov

用于报告上次 git 提交覆盖率的 Pytest 插件。

2020年1月11日

2 - 预 Alpha

不适用

pytest-git-diff

一个 Pytest 插件,允许用户选择受一系列 git 提交影响的测试

2024年4月2日

不适用

不适用

pytest-git-fixtures

用于使用 git 进行测试的 Pytest fixture。

2021年3月11日

4 - Beta

pytest

pytest-github

py.test 插件,使用标记将测试与 github 问题关联。

2019年3月7日

5 - 生产/稳定

不适用

pytest-github-actions-annotate-failures

pytest 插件,用于使用 GitHub Actions 的工作流命令注释失败的测试

2025年1月17日

5 - 生产/稳定

pytest>=6.0.0

pytest-github-report

在 GitHub Workflows 中使用 pytest 生成 GitHub 报告

2022年6月3日

4 - Beta

不适用

pytest-gitignore

py.test 插件,用于忽略与 git 相同的文件

2015年7月17日

4 - Beta

不适用

pytest-gitlab

Gitlab 的 Pytest 插件

2024年10月16日

不适用

不适用

pytest-gitlabci-parallelized

在 GitLab CI worker 中并行化 pytest。

2023年3月8日

不适用

不适用

pytest-gitlab-code-quality

在测试时收集警告并生成 GitLab 代码质量报告。

2024年9月9日

不适用

pytest>=8.1.1

pytest-gitlab-fold

在 GitLab CI 构建日志中折叠输出部分

2023年12月31日

4 - Beta

pytest >=2.6.0

pytest-git-selector

用于选择其依赖项已修改(由 git diff 标识)的测试的实用程序

2022年11月17日

不适用

不适用

pytest-glamor-allure

扩展 allure-pytest 功能

2024年4月30日

4 - Beta

pytest<=8.2.0

pytest-gnupg-fixtures

用于使用 gnupg 进行测试的 Pytest fixture。

2021年3月4日

4 - Beta

pytest

pytest-golden

pytest 插件,将预期输出卸载到数据文件

2022年7月18日

不适用

pytest (>=6.1.2)

pytest-goldie

一个支持 pytest golden 测试的插件。

2023年5月23日

4 - Beta

pytest (>=3.5.0)

pytest-google-chat

将测试结果通知 Google Chat 频道

2022年3月27日

4 - Beta

pytest

pytest-google-cloud-storage

Pytest 自定义功能,例如 fixture 和各种测试。旨在模拟 Google Cloud Storage 服务

2025年5月22日

不适用

pytest==8.3.5

pytest-gradescope

一个用于 Gradescope 集成的 pytest 插件

2025年4月29日

不适用

不适用

pytest-graphql-schema

获取 graphql schema 作为 pytest 的 fixture

2019年10月18日

不适用

不适用

pytest-greendots

绿色进度点

2014年2月8日

3 - Alpha

不适用

pytest-group-by-class

一个 Pytest 插件,通过将测试拆分为类组来运行部分测试。

2023年6月27日

5 - 生产/稳定

pytest (>=2.5)

pytest-growl

pytest 结果的 Growl 通知。

2014年1月13日

5 - 生产/稳定

不适用

pytest-grpc

grpc 的 pytest 插件

2020年5月1日

不适用

pytest (>=3.6.0)

pytest-grunnur

适用于基于 Grunnur 的包的 Py.Test 插件。

2024年7月26日

不适用

pytest>=6

pytest_gui_status

在 GUI 中显示 pytest 状态

2016年1月23日

不适用

pytest

pytest-hammertime

对于通过的 pytest 测试,显示“🔨”而不是“.”。

2018年7月28日

不适用

pytest

pytest-hardware-test-report

一个简单的 pytest 插件

2024年4月1日

4 - Beta

pytest<9.0.0,>=8.0.0

pytest-harmony

使用 pytest 链接测试和数据

2023年1月17日

不适用

pytest (>=7.2.1,<8.0.0)

pytest-harvest

存储 pytest 测试执行期间创建的数据,并在会话结束时检索它,例如用于应用程序基准测试。

2024年3月16日

5 - 生产/稳定

不适用

pytest-helm-charts

一个插件,提供可用于测试的不同类型和配置的 Kubernetes 集群。

2024年10月31日

4 - Beta

pytest<9.0.0,>=8.0.0

pytest-helm-templates

用于单元测试 helm 模板输出的 Pytest fixture

2024年8月7日

不适用

pytest~=7.4.0; extra == “dev”

pytest-helper

帮助使用 pytest 测试框架的函数

2019年5月31日

5 - 生产/稳定

不适用

pytest-helpers

pytest 辅助函数

2020年5月17日

不适用

pytest

pytest-helpers-namespace

Pytest 辅助命名空间插件

2021年12月29日

5 - 生产/稳定

pytest (>=6.0.0)

pytest-henry

2023年8月29日

不适用

不适用

pytest-hidecaptured

隐藏捕获的输出

2018年5月4日

4 - Beta

pytest (>=2.8.5)

pytest-himark

此插件旨在根据 json 配置自动创建标记。

2024年6月5日

4 - Beta

pytest>=6.2.0

pytest-historic

自定义报告,用于显示 pytest 历史执行记录

2020年4月8日

不适用

pytest

pytest-historic-hook

自定义监听器,用于将执行结果存储到 MySQL 数据库中,用于 pytest-historic 报告

2020年4月8日

不适用

pytest

pytest-history

Pytest 插件,用于保留 pytest 运行历史记录

2024年1月14日

不适用

pytest (>=7.4.3,<8.0.0)

pytest-home

主目录 fixture

2024年7月28日

5 - 生产/稳定

pytest

pytest-homeassistant

一个用于 homeassistant 自定义组件的 pytest 插件。

2020年8月12日

4 - Beta

不适用

pytest-homeassistant-custom-component

实验性包,用于自动提取 Home Assistant 自定义组件的测试插件

2025年5月30日

3 - Alpha

pytest==8.3.5

pytest-honey

一个简单的 pytest 插件

2022年1月7日

4 - Beta

pytest (>=3.5.0)

pytest-honors

报告遵守约束的测试,并防止回归

2020年3月6日

4 - Beta

不适用

pytest-hot-reloading

2024年9月23日

不适用

不适用

pytest-hot-test

一个跟踪测试变化的插件

2022年12月10日

4 - Beta

pytest (>=3.5.0)

pytest-houdini

用于在 Houdini 中测试代码的 pytest 插件。

2024年7月15日

不适用

pytest

pytest-hoverfly

简化从 pytest 使用 Hoverfly 的操作

2023年1月30日

不适用

pytest (>=5.0)

pytest-hoverfly-wrapper

将 Hoverfly HTTP 代理集成到 Pytest 中

2023年2月27日

5 - 生产/稳定

pytest (>=3.7.0)

pytest-hpfeeds

帮助在你的 Python 项目中测试 hpfeeds

2023年2月28日

4 - Beta

pytest (>=6.2.4,<7.0.0)

pytest-html

用于生成 HTML 报告的 pytest 插件

2023年11月7日

5 - 生产/稳定

pytest>=7.0.0

pytest-html-cn

用于生成 HTML 报告的 pytest 插件

2024年8月19日

5 - 生产/稳定

pytest!=6.0.0,>=5.0

pytest-html-lee

优化后的 pytest 插件,用于生成 HTML 报告

2020年6月30日

5 - 生产/稳定

pytest (>=5.0)

pytest-html-merger

Pytest HTML 报告合并实用程序

2024年7月12日

不适用

不适用

pytest-html-object-storage

用于将 HTML 报告发送到对象存储的 Pytest 报告插件

2024年1月17日

5 - 生产/稳定

不适用

pytest-html-profiling

用于生成包含每个测试性能分析和可选调用图可视化的 HTML 报告的 Pytest 插件。基于 Dave Hunt 的 pytest-html。

2020年2月11日

5 - 生产/稳定

pytest (>=3.0)

pytest-html-reporter

基于 pytest 框架生成静态 HTML 报告

2022年2月13日

不适用

不适用

pytest-html-report-merger

2024年5月22日

不适用

不适用

pytest-html-thread

用于生成 HTML 报告的 pytest 插件

2020年12月29日

5 - 生产/稳定

不适用

pytest-http

用于 HTTP 请求的“http” fixture

2024年8月22日

不适用

pytest

pytest-httpbin

轻松地针对本地 httpbin 副本测试你的 HTTP 库

2024年9月18日

5 - 生产/稳定

pytest; extra == “test”

pytest-httpdbg

一个 pytest 插件,用于记录带堆栈跟踪的 HTTP(S) 请求。

2025年5月8日

4 - Beta

pytest>=7.0.0

pytest-http-mocker

用于 HTTP 模拟的 Pytest 插件(通过 https://github.com/vilus/mocker

2019年10月20日

不适用

不适用

pytest-httpretty

HTTPretty 的 pytest 轻量级包装器

2014年2月16日

3 - Alpha

不适用

pytest_httpserver

pytest-httpserver 是 pytest 的 httpserver

2025年4月10日

3 - Alpha

不适用

pytest-httptesting

基于 pytest 的 http_testing 框架

2024年12月19日

不适用

pytest>=8.2.0

pytest-httpx

将响应发送到 httpx。

2024年11月28日

5 - 生产/稳定

pytest==8.*

pytest-httpx-blockage

在测试运行期间禁用 httpx 请求

2023年2月16日

不适用

pytest (>=7.2.1)

pytest-httpx-recorder

基于 pytest_httpx 的记录器功能,类似于 responses 中的记录器功能。

2024年1月4日

5 - 生产/稳定

pytest

pytest-hue

通过 Phillips Hue 灯光可视化 Pytest 状态

2019年5月9日

不适用

不适用

pytest-hylang

Pytest 插件,允许运行用 hylang 编写的测试

2021年3月28日

不适用

pytest

pytest-hypo-25

帮助 pytest 的 hypo 模块

2020年1月12日

3 - Alpha

不适用

pytest-iam

一个功能齐全的 OAUTH2 / OpenID Connect (OIDC) / SCIM 服务器,可在你的测试套件中使用

2025年4月24日

4 - Beta

pytest>=7.0.0

pytest-ibutsu

一个将 pytest 结果发送到 Ibutsu 服务器的插件

2025年2月6日

4 - Beta

pytest>=7.1

pytest-icdiff

使用 icdiff 改进 pytest 断言的错误消息

2023年12月5日

4 - Beta

pytest

pytest-idapro

idapython 的 pytest 插件。允许 pytest 设置以自动化方式在 IDA 外部和内部运行测试,通过在 IDA 内部运行 pytest 并模拟 idapython API。

2018年11月3日

不适用

不适用

pytest-idem

一个 pytest 插件,用于帮助测试 idem 项目

2023年12月13日

5 - 生产/稳定

不适用

pytest-idempotent

用于测试函数幂等性的 Pytest 插件。

2022年7月25日

不适用

不适用

pytest-ignore-flaky

忽略不稳定测试的失败(pytest 插件)

2024年4月20日

5 - 生产/稳定

pytest>=6.0

pytest-ignore-test-results

一个忽略测试结果的 pytest 插件。

2025年2月3日

5 - 生产/稳定

pytest>=7.0

pytest-image-diff

2024年12月31日

3 - Alpha

pytest

pytest-image-snapshot

一个用于图像快照管理和比较的 pytest 插件。

2024年7月1日

4 - Beta

pytest>=3.5.0

pytest-impacted

一个 pytest 插件,通过 git 内省、ASL 解析和依赖图分析,选择性地运行受代码更改影响的测试。

2025年5月31日

4 - Beta

pytest>=8.0.0

pytest-import-check

pytest 插件,用于检查 Python 模块是否可以导入

2024年7月19日

3 - Alpha

pytest>=8.1

pytest-incremental

一个增量测试运行器(pytest 插件)

2021年4月24日

5 - 生产/稳定

不适用

pytest-infinity

2024年6月9日

不适用

pytest<9.0.0,>=8.0.0

pytest-influx

用于在测试运行之间管理 influx 实例的 Pytest 插件

2024年10月16日

不适用

pytest<9.0.0,>=8.3.3

pytest-influxdb

influxdb 和 pytest 集成插件。

2021年4月20日

不适用

不适用

pytest-info-collector

pytest 插件,用于从测试中收集信息

2019年5月26日

3 - Alpha

不适用

pytest-info-plugin

在 pytest 接口自动化框架中获取已执行接口信息

2023年9月14日

不适用

不适用

pytest-informative-node

显示更多节点信息。

2019年4月25日

4 - Beta

不适用

pytest-infrahouse

一组与 pytest 一起使用的 fixture

2025年3月18日

4 - Beta

pytest~=8.3

pytest-infrastructure

在测试执行前进行 pytest 堆栈验证

2020年4月12日

4 - Beta

不适用

pytest-ini

重用 pytest.ini 存储环境变量

2022年4月26日

不适用

不适用

pytest-initry

用于将自动化测试数据从 Pytest 发送到 initry 的插件

2024年4月30日

不适用

pytest<9.0.0,>=8.1.1

pytest-inline

一个用于编写内联测试的 pytest 插件

2024年10月24日

4 - Beta

pytest<9.0,>=7.0

pytest-inmanta

一个 py.test 插件,提供 fixture 以简化 inmanta 模块测试。

2025年4月9日

5 - 生产/稳定

pytest

pytest-inmanta-extensions

Inmanta 测试包

2025年5月27日

5 - 生产/稳定

不适用

pytest-inmanta-lsm

inmanta LSM 相关模块的常见 fixture

2025年4月9日

5 - 生产/稳定

不适用

pytest-inmanta-srlinux

Pytest 库,用于促进 inmanta 项目的端到端测试

2025年4月22日

3 - Alpha

不适用

pytest-inmanta-yang

inmanta yang 相关模块中使用的常见 fixture

2024年2月22日

4 - Beta

pytest

pytest-Inomaly

一个简单的 pytest 图像差异插件

2018年2月13日

4 - Beta

不适用

pytest-in-robotframework

该扩展允许在 Robot Framework 环境中轻松执行 pytest 测试。

2024年11月23日

不适用

pytest

pytest-insper

适用于 Insper 课程的 Pytest 插件

2024年3月21日

不适用

pytest

pytest-insta

一个实用的 pytest 快照测试插件

2024年2月19日

不适用

pytest (>=7.2.0,<9.0.0)

pytest-instafail

pytest 插件,用于即时显示失败

2023年3月31日

4 - Beta

pytest (>=5)

pytest-instrument

pytest 插件,用于对测试进行插装

2020年4月5日

5 - 生产/稳定

pytest (>=5.1.0)

pytest-integration

按集成与否组织 pytest

2022年11月17日

不适用

不适用

pytest-integration-mark

pytest 的自动集成测试标记和排除插件

2023年5月22日

不适用

pytest (>=5.2)

pytest-interactive

一个 pytest 插件,用于在收集阶段后进行基于控制台的交互式测试选择

2017年11月30日

3 - Alpha

不适用

pytest-intercept-remote

pytest 插件,用于在 pytest 运行期间拦截传出连接请求。

2021年5月24日

4 - Beta

pytest (>=4.6)

pytest-interface-tester

pytest 插件,用于检查 charm 关系接口协议合规性。

2025年2月13日

4 - Beta

pytest

pytest-invenio

Invenio 的 Pytest fixture。

2025年5月8日

5 - 生产/稳定

pytest<9.0.0,>=6

pytest-involve

运行覆盖特定文件或变更集的测试

2020年2月2日

4 - Beta

pytest (>=3.5.0)

pytest-iovis

一个 Pytest 插件,用于通过 Papermill 启用 Jupyter Notebook 测试

2024年11月6日

4 - Beta

pytest>=7.1.0

pytest-ipdb

一个 py.test 插件,可在测试失败时进入 ipdb 调试器。

2013年3月20日

2 - 预 Alpha

不适用

pytest-ipynb

此项目已废弃

2019年1月29日

3 - Alpha

不适用

pytest-ipynb2

Pytest 插件,用于在 Jupyter Notebooks 中运行测试

2025年3月9日

不适用

pytest

pytest-ipywidgets

2025年5月30日

不适用

pytest

pytest-iso

pytest 插件,用于为代码审计生成测试文档。

2025年5月15日

4 - Beta

pytest<9.0.0,>=7.4.0

pytest-isolate

在隔离的子进程中运行 pytest 测试

2025年5月22日

4 - Beta

pytest

pytest-isolate-mpi

pytest-isolate-mpi 允许以段错误和 MPI_Abort 安全的方式执行 MPI 并行测试

2025年2月24日

4 - Beta

pytest>=5

pytest-isort

py.test 插件,用于使用 isort 检查导入顺序

2024年3月5日

5 - 生产/稳定

pytest (>=5.0)

pytest-it

Pytest 插件,用于将测试报告显示为纯文本规范,灵感来自 Rspec: https://github.com/mattduck/pytest-it

2024年1月29日

4 - Beta

不适用

pytest-item-dict

获取 session.items 的分层字典

2024年11月14日

4 - Beta

pytest>=8.3.0

pytest-iterassert

pytest 更友好的列表和可迭代断言消息

2020年5月11日

3 - Alpha

不适用

pytest-iteration

为测试添加迭代标记

2024年8月22日

不适用

pytest

pytest-iters

一个 contextmanager pytest fixture,用于处理多个模拟迭代器

2022年5月24日

不适用

不适用

pytest_jar_yuan

一个 Allure 和 Pytest 使用的包

2022年12月12日

不适用

不适用

pytest-jasmine

从你的 pytest 测试套件运行 jasmine 测试

2017年11月4日

1 - 规划中

不适用

pytest-jelastic

Pytest 插件,定义了测试 Jelastic 环境的 pytest 所需的命令行选项。

2022年11月16日

不适用

pytest (>=7.2.0,<8.0.0)

pytest-jest

一个自定义的面向 jest-pytest 的 Pytest 报告器

2018年5月22日

4 - Beta

pytest (>=3.3.2)

pytest-jinja

一个插件,用于在 pytest 中生成可自定义的基于 Jinja 的 HTML 报告

2022年10月4日

3 - Alpha

pytest (>=6.2.5,<7.0.0)

pytest-jira

py.test JIRA 集成插件,使用标记

2025年4月15日

3 - Alpha

不适用

pytest-jira-xfail

如果链接了未解决的 Jira 问题,则插件跳过 (xfail) 测试

2024年7月9日

不适用

pytest>=7.2.0

pytest-jira-xray

pytest 插件,用于将测试与 Jira Xray 集成

2025年5月24日

4 - Beta

pytest>=6.2.4

pytest-job-selection

一个用于负载均衡测试套件的 pytest 插件

2023年1月30日

4 - Beta

pytest (>=3.5.0)

pytest-jobserver

使用 posix jobserver 限制并行测试。

2019年5月15日

5 - 生产/稳定

pytest

pytest-joke

测试失败最好用幽默来化解。

2019年10月8日

4 - Beta

pytest (>=4.2.1)

pytest-json

生成 JSON 测试报告

2016年1月18日

4 - Beta

不适用

pytest-json-ctrf

Pytest 插件,用于以 CTRF(通用测试报告格式)生成 JSON 报告

2024年10月10日

不适用

pytest>6.0.0

pytest-json-fixtures

--fixtures 标志的 JSON 输出

2023年3月14日

4 - Beta

不适用

pytest-jsonlint

未知

2016年8月4日

不适用

不适用

pytest-json-report

一个 pytest 插件,用于将测试结果报告为 JSON 文件

2022年3月15日

4 - Beta

pytest (>=3.8.0)

pytest-json-report-wip

一个 pytest 插件,用于将测试结果报告为 JSON 文件

2023年10月28日

4 - Beta

pytest >=3.8.0

pytest-jsonschema

一个用于执行 JSONSchema 验证的 pytest 插件

2025年4月20日

4 - Beta

pytest>=6.2.0

pytest-jtr

支持 JSON 测试报告输出的 pytest 插件

2024年7月21日

不适用

pytest<8.0.0,>=7.1.2

pytest-jubilant

在此处添加你的描述

2025年5月14日

不适用

pytest>=8.3.5

pytest-junit-xray-xml

以增强的 JUnit 格式导出测试结果,用于 Xray ()

2025年1月1日

4 - Beta

pytest

pytest-jupyter

一个用于测试 Jupyter 库和扩展的 pytest 插件。

2024年4月4日

4 - Beta

pytest>=7.0

pytest-jupyterhub

一个可重用的 JupyterHub pytest 插件

2023年4月25日

5 - 生产/稳定

pytest

pytest-kafka

用于 Pytest 的 Zookeeper、Kafka 服务器和 Kafka 消费者 fixture

2024年8月14日

不适用

pytest

pytest-kafkavents

一个将 pytest 事件发送到 Kafka 的插件

2021年9月8日

4 - Beta

pytest

pytest-kairos

具有随机数生成、可重现性和测试重复功能的 Pytest 插件

2024年8月8日

5 - 生产/稳定

pytest>=5.0.0

pytest-kasima

在捕获的标准输出的上方和下方显示水平线,以便于查看。

2023年1月26日

5 - 生产/稳定

pytest (>=7.2.1,<8.0.0)

pytest-keep-together

Pytest 插件,通过将所有“相关”测试一起运行来定制测试顺序

2022年12月7日

5 - 生产/稳定

pytest

pytest-kexi

2022年4月29日

不适用

pytest (>=7.1.2,<8.0.0)

pytest-keyring

一个 Pytest 插件,用于访问系统密钥环以提供测试凭据

2024年12月8日

不适用

pytest>=8.0.2

pytest-kind

使用 KIND 为 pytest 提供 Kubernetes 测试支持

2022年11月30日

5 - 生产/稳定

不适用

pytest-kivy

使用 pytest 的 Kivy GUI 测试 fixture

2021年7月6日

4 - Beta

pytest (>=3.6)

pytest-knows

一个 pytest 插件,可以根据跟踪计算出的依赖信息自动跳过测试用例

2014年8月22日

不适用

不适用

pytest-konira

使用 py.test 运行 Konira DSL 测试

2011年10月9日

不适用

不适用

pytest-kookit

你简单而古怪的 pytest 集成测试

2024年9月10日

不适用

不适用

pytest-koopmans

一个用于测试 koopmans 包的插件

2022年11月21日

4 - Beta

pytest (>=3.5.0)

pytest-krtech-common

pytest krtech 常用库

2016年11月28日

4 - Beta

不适用

pytest-kubernetes

2025年2月4日

不适用

pytest<9.0.0,>=8.3.0

pytest-kuunda

pytest 插件,用于帮助设置 PySpark 测试的测试数据

2024年2月25日

4 - Beta

pytest >=6.2.0

pytest-kwparametrize

@pytest.mark.parametrize 的替代语法,测试用例为字典并支持默认值回退

2021年1月22日

不适用

pytest (>=6)

pytest-lambda

使用 lambda 函数定义 pytest fixture。

2024年5月27日

5 - 生产/稳定

pytest<9,>=3.6

pytest-lamp

2017年1月6日

3 - Alpha

不适用

pytest-langchain

用于 langchain 代理的 Pytest 风格测试运行器

2023年2月26日

不适用

pytest

pytest-lark

创建精美清晰的 HTML 测试报告。

2023年11月5日

不适用

不适用

pytest-latin-hypercube

pytest 的拉丁超立方抽样实现。

2025年2月27日

不适用

pytest

pytest-launchable

可启动的 Pytest 插件

2023年4月5日

不适用

pytest (>=4.2.0)

pytest-layab

layab 的 Pytest fixture。

2020年10月5日

5 - 生产/稳定

不适用

pytest-lazy-fixture

有助于在 pytest.mark.parametrize 中使用 fixture

2020年2月1日

4 - Beta

pytest (>=3.2.5)

pytest-lazy-fixtures

允许你在 @pytest.mark.parametrize 中使用 fixture。

2025年5月27日

不适用

pytest>=7

pytest-ldap

pytest 的 python-ldap fixture

2020年8月18日

不适用

pytest

pytest-leak-finder

在测试失败之前找到泄漏的测试

2023年2月15日

4 - Beta

pytest (>=3.5.0)

pytest-leaks

一个 pytest 插件,用于跟踪资源泄漏。

2019年11月27日

1 - 规划中

不适用

pytest-leaping

一个简单的 pytest 插件

2024年3月27日

4 - Beta

pytest>=6.2.0

pytest-leo-interface

leo 项目的 Pytest 扩展工具。

2025年3月19日

不适用

不适用

pytest-level

选择给定级别或更低级别的测试

2019年10月21日

不适用

pytest

pytest-lf-skip

一个 pytest 插件,使 `--last-failed` 跳过而不是取消选择测试。

2025年5月26日

4 - Beta

pytest>=8.3.5

pytest-libfaketime

pytest 的 python-libfaketime 插件

2024年4月12日

4 - Beta

pytest>=3.0.0

pytest-libiio

一个 pytest 插件,用于管理与 libiio 上下文的接口

2024年10月1日

4 - Beta

不适用

pytest-libnotify

Pytest 插件,显示有关测试运行的通知

2021年4月2日

3 - Alpha

pytest

pytest-ligo

2020年1月16日

4 - Beta

不适用

pytest-lineno

一个 pytest 插件,用于显示测试函数的行号

2020年12月4日

不适用

pytest

pytest-line-profiler

分析 pytest 执行的代码

2023年8月10日

4 - Beta

pytest >=3.5.0

pytest-line-profiler-apn

分析 pytest 执行的代码

2022年12月5日

不适用

pytest (>=3.5.0)

pytest-lisa

Pytest 插件,用于组织测试。

2021年1月21日

3 - Alpha

pytest (>=6.1.2,<7.0.0)

pytest-listener

一个简单的网络监听器

2024年11月29日

5 - 生产/稳定

pytest

pytest-litf

一个 pytest 插件,以 LITF 格式流式传输输出

2021年1月18日

4 - Beta

pytest (>=3.1.1)

pytest-litter

Pytest 插件,验证测试是否未修改文件树。

2023年11月23日

4 - Beta

pytest >=6.1

pytest-live

pytest 的实时结果

2020年3月8日

不适用

pytest

pytest-llmeval

一个 pytest 插件,用于评估/基准测试 LLM 提示

2025年3月19日

4 - Beta

pytest>=6.2.0

pytest-local-badge

生成报告你的测试套件状态的本地徽章(盾牌)。

2023年1月15日

不适用

pytest (>=6.1.0)

pytest-localftpserver

一个 Pytest 插件,为你的测试提供 FTP fixture

2024年5月19日

5 - 生产/稳定

pytest

pytest-localserver

pytest 插件,用于在本地测试服务器连接。

2024年10月6日

4 - Beta

不适用

pytest-localstack

适用于 AWS 集成测试的 Pytest 插件

2023年6月7日

4 - Beta

pytest (>=6.0.0,<7.0.0)

pytest-lock

pytest-lock 是一个 pytest 插件,允许你“锁定”单元测试的结果,将它们存储在本地缓存中。这对于资源密集型或不需要每次都运行的测试特别有用。当后续运行测试时,pytest-lock 将当前结果与锁定结果进行比较,如果存在任何差异,则发出警告。

2024年2月3日

不适用

pytest (>=7.4.3,<8.0.0)

pytest-lockable

pytest 的可锁定资源插件

2024年1月24日

5 - 生产/稳定

pytest

pytest-locker

用于在测试期间锁定对象。本质上将断言从硬编码改为断言没有改变

2024年12月20日

不适用

pytest>=5.4

pytest-log

打印日志

2021年8月15日

不适用

pytest (>=3.8)

pytest-logbook

py.test 插件,用于捕获 logbook 日志消息

2015年11月23日

5 - 生产/稳定

pytest (>=2.8)

pytest-logdog

Pytest 插件,用于测试日志记录

2021年6月15日

1 - 规划中

pytest (>=6.2.0)

pytest-logfest

Pytest 插件,提供三个日志记录器 fixture,支持基本或完整写入日志文件

2019年7月21日

4 - Beta

pytest (>=3.5.0)

pytest-logger

配置 Python logging 模块中日志记录器处理程序的插件。

2024年3月10日

5 - 生产/稳定

pytest (>=3.2)

pytest-logging

配置日志记录并允许使用 py.test 标志调整日志级别

2015年11月4日

4 - Beta

不适用

pytest-logging-end-to-end-test-tool

2022年9月23日

不适用

pytest (>=7.1.2,<8.0.0)

pytest-logging-strict

从打包的 YAML 配置的 pytest fixture 日志记录

2025年5月20日

3 - Alpha

pytest

pytest-logikal

通用测试环境

2025年4月30日

5 - 生产/稳定

pytest==8.3.5

pytest-log-report

用于创建 pytest 测试运行报告的包

2019年12月26日

不适用

不适用

pytest-logscanner

Logscanner 的 Pytest 插件(一个用于 Python 日志记录输出的日志记录器,可轻松查看(和过滤)HTML 文件。适用于不熟悉 grep 的人,颜色高亮和快速更改过滤器甚至可能对命令行高手有用。)

2024年9月30日

4 - Beta

pytest>=8.2.2

pytest-loguru

Pytest Loguru

2024年3月20日

5 - 生产/稳定

pytest; extra == “test”

pytest-loop

用于循环测试的 pytest 插件

2024年10月17日

5 - 生产/稳定

pytest

pytest-lsp

一个用于语言服务器端到端测试的 pytest 插件

2024年11月23日

3 - Alpha

pytest

pytest-lw-realtime-result

Pytest 插件,用于生成实时测试结果到文件

2025年3月13日

不适用

pytest>=3.5.0

pytest-manifest

PyTest 插件,用于记录和断言清单文件

2025年4月7日

不适用

pytest

pytest-manual-marker

用于标记手动测试的 pytest 标记

2022年8月4日

3 - Alpha

pytest>=7

pytest-mark-count

获取已标记、未标记和唯一测试的数量(如果测试有多个标记)

2024年11月13日

4 - Beta

pytest>=8.0.0

pytest-markdoctest

一个 pytest 插件,用于对你的 markdown 文件进行 doctest

2022年7月22日

4 - Beta

pytest (>=6)

pytest-markdown

使用 pytest 测试你的 markdown 文档

2021年1月15日

4 - Beta

pytest (>=6.0.1,<7.0.0)

pytest-markdown-docs

通过 pytest 运行 markdown 代码围栏

2025年4月9日

不适用

pytest>=7.0.0

pytest-marker-bugzilla

py.test bugzilla 集成插件,使用标记

2025年4月2日

5 - 生产/稳定

pytest>=2.2.4

pytest-markers-presence

一个简单的插件,用于检测遗漏的 pytest 标签和标记

2024年10月30日

4 - Beta

pytest>=6.0

pytest-mark-filter

使用 match kw 按名称过滤 pytest 标记

2025年5月11日

不适用

pytest>=8.3.0

pytest-markfiltration

未知

2011年11月8日

3 - Alpha

不适用

pytest-mark-manage

用例标签化管理

2024年8月15日

不适用

pytest

pytest-mark-no-py3

pytest 插件和 bowler codemod,帮助将测试迁移到 Python 3

2019年5月17日

不适用

pytest

pytest-marks

未知

2012年11月23日

3 - Alpha

不适用

pytest-mask-secrets

Pytest 插件,用于在测试报告中隐藏敏感数据

2025年1月28日

不适用

不适用

pytest-matcher

将捕获的 `pytest` 输出与文件中存储的预期轻松匹配的方法

2024年8月1日

5 - 生产/稳定

pytest

pytest-matchers

pytest 的匹配器

2025年2月11日

不适用

pytest<9.0,>=7.0

pytest-match-skip

跳过匹配的标记。使用通配符匹配部分标记。

2019年5月15日

4 - Beta

pytest (>=4.4.1)

pytest-mat-report

这是报告

2021年1月20日

不适用

不适用

pytest-matrix

提供工具,用于从 fixture 组合生成测试。

2020年6月24日

5 - 生产/稳定

pytest (>=5.4.3,<6.0.0)

pytest-maxcov

以最小的执行时间成本计算通过 pytest 可获得的最大覆盖率

2023年9月24日

不适用

pytest (>=7.4.0,<8.0.0)

pytest-max-warnings

一个 Pytest 插件,当配置的最大警告数超过时,退出非零退出代码。

2024年10月23日

4 - Beta

pytest>=8.3.3

pytest-maybe-context

简化带警告和异常情况的测试。

2023年4月16日

不适用

pytest (>=7,<8)

pytest-maybe-raises

用于可选异常测试的 Pytest fixture。

2022年5月27日

不适用

pytest ; extra == ‘dev’

pytest-mccabe

pytest 插件,用于运行 mccabe 代码复杂度检查器。

2020年7月22日

3 - Alpha

pytest (>=5.4.0)

pytest-md

用于为 pytest 结果生成 Markdown 报告的插件

2019年7月11日

3 - Alpha

pytest (>=4.2.1)

pytest-md-report

一个 pytest 插件,用于生成具有 markdown 表格格式的测试结果报告。

2025年5月2日

4 - Beta

pytest!=6.0.0,<9,>=3.3.2

pytest-meilisearch

帮助测试使用 Meilisearch 的项目的 Pytest 辅助工具

2024年10月8日

不适用

pytest>=7.4.3

pytest-memlog

在测试期间记录内存使用情况

2023年5月3日

不适用

pytest (>=7.3.0,<8.0.0)

pytest-memprof

估算测试函数的内存消耗

2019年3月29日

4 - Beta

不适用

pytest-memray

一个简单的 pytest 插件

2024年7月25日

不适用

pytest>=7.2

pytest-menu

一个 pytest 插件,用于在收集阶段后进行基于控制台的交互式测试选择

2017年10月4日

3 - Alpha

pytest (>=2.4.2)

pytest-mercurial

pytest 插件,用于编写使用 Mercurial Python 内部的项目集成测试

2020年11月21日

1 - 规划中

不适用

pytest-mergify

Mergify 的 Pytest 插件

2025年5月13日

不适用

pytest>=6.0.0

pytest-mesh

pytest_mesh插件

2022年8月5日

不适用

pytest (==7.1.2)

pytest-message

Pytest 插件,用于发送已标记测试执行的报告消息

2022年8月4日

不适用

pytest (>=6.2.5)

pytest-messenger

Pytest 到 Slack 报告插件

2022年11月24日

5 - 生产/稳定

不适用

pytest-metadata

用于测试会话元数据的 pytest 插件

2024年2月12日

5 - 生产/稳定

pytest>=7.0.0

pytest-metrics

pytest 的自定义指标报告

2020年4月4日

不适用

pytest

pytest-mh

Pytest 多主机插件

2025年5月15日

不适用

pytest

pytest-mimesis

Mimesis 与 pytest 测试运行器的集成

2020年3月21日

5 - 生产/稳定

pytest (>=4.2)

pytest-mimic

在测试时轻松记录函数调用

2025年4月24日

4 - Beta

pytest>=6.2.0

pytest-minecraft

一个用于针对 Minecraft 版本运行测试的 pytest 插件

2022年4月6日

不适用

pytest (>=6.0.1)

pytest-mini

一个测试 mp 的插件

2023年2月6日

不适用

pytest (>=7.2.0,<8.0.0)

pytest-minio-mock

一个用于模拟 Minio S3 交互的 pytest 插件

2025年5月6日

不适用

pytest>=5.0.0

pytest-missing-fixtures

Pytest 插件,用于创建缺失的 fixture

2020年10月14日

4 - Beta

pytest (>=3.5.0)

pytest-missing-modules

Pytest 插件,用于轻松模拟缺失的模块

2024年9月3日

不适用

pytest>=8.3.2

pytest-mitmproxy

用于 mitmproxy 测试的 pytest 插件

2024年11月13日

不适用

pytest>=7.0

pytest-mitmproxy-plugin

在自动化测试中使用 MITM Proxy,并通过代码完全控制

2025年4月10日

4 - Beta

pytest>=7.2.0

pytest-ml

测试你的机器学习!

2019年5月4日

4 - Beta

不适用

pytest-mocha

pytest 插件,用于显示类似 mochajs 的测试执行输出

2020年4月2日

4 - Beta

pytest (>=5.4.0)

pytest-mock

mock 包的轻量级包装器,便于与 pytest 一起使用

2025年5月26日

5 - 生产/稳定

pytest>=6.2.5

pytest-mock-api

一个模拟 API 服务器,提供可配置的路由和响应,作为 fixture 可用。

2019年2月13日

1 - 规划中

pytest (>=4.0.0)

pytest-mock-generator

https://pypi.ac.cn/project/mock-generator 的 pytest fixture 包装器

2022年5月16日

5 - 生产/稳定

不适用

pytest-mock-helper

帮助你模拟 HTTP 调用并生成模拟代码

2018年1月24日

不适用

pytest

pytest-mockito

mockito 的基本 fixture

2018年7月11日

4 - Beta

不适用

pytest-mockredis

一个在单独线程中运行的 Redis 服务器的内存模拟。这用于需要 Redis 数据库的单元测试。

2018年1月2日

2 - 预 Alpha

不适用

pytest-mock-resources

一个 pytest 插件,用于轻松实例化可重现的模拟资源。

2025年3月10日

不适用

pytest>=1.0

pytest-mock-server

pytest 的模拟服务器插件

2022年1月9日

4 - Beta

pytest (>=3.5.0)

pytest-mockservers

一组用于测试对 HTTP/UDP 服务器请求的 fixture

2020年3月31日

不适用

pytest (>=4.3.0)

pytest-mocktcp

一个用于测试 TCP 客户端的 pytest 插件

2022年10月11日

不适用

pytest

pytest-modalt

使用 modal.com 大规模分布式 pytest 运行

2024年2月27日

4 - Beta

pytest >=6.2.0

pytest-modified-env

Pytest 插件,如果测试之后修改了 `os.environ`,则使其失败。

2022年1月29日

4 - Beta

不适用

pytest-modifyjunit

用于为 IDM QE 的 junit xml 添加额外属性的实用程序

2019年1月10日

不适用

不适用

pytest-molecule

PyTest Molecule 插件 :: 发现并运行 molecule 测试

2022年3月29日

5 - 生产/稳定

pytest (>=7.0.0)

pytest-molecule-JC

PyTest Molecule 插件 :: 发现并运行 molecule 测试

2023年7月18日

5 - 生产/稳定

pytest (>=7.0.0)

pytest-mongo

用于 Pytest 的 MongoDB 进程和客户端 fixture 插件。

2025年2月28日

5 - 生产/稳定

pytest>=6.2

pytest-mongodb

用于 MongoDB fixture 的 pytest 插件

2023年5月16日

5 - 生产/稳定

不适用

pytest-mongodb-nono

用于 MongoDB 的 pytest 插件

2025年1月7日

不适用

不适用

pytest-mongodb-ry

用于 MongoDB 的 pytest 插件

2025年1月21日

不适用

不适用

pytest-monitor

Pytest 插件,用于分析资源使用情况。

2023年6月25日

5 - 生产/稳定

pytest

pytest-monkeyplus

pytest 的 monkeypatch 子类,具有额外功能

2012年9月18日

5 - 生产/稳定

不适用

pytest-monkeytype

pytest-monkeytype:从你的 pytest 测试生成 Monkeytype 注释。

2020年7月29日

4 - Beta

不适用

pytest-moto

用于 AWS 服务集成测试的 fixture,使用 moto 模拟库。

2015年8月28日

1 - 规划中

不适用

pytest-moto-fixtures

用于测试与 AWS 交互的代码的 fixture

2025年2月4日

1 - 规划中

pytest<9,>=8.3; extra == “pytest”

pytest-motor

一个用于 motor(非阻塞 MongoDB 驱动程序)的 pytest 插件。

2021年7月21日

3 - Alpha

pytest

pytest-mp

用于多进程 Pytest 运行的测试批处理程序

2018年5月23日

4 - Beta

pytest

pytest-mpi

pytest 插件,用于从测试中收集信息

2022年1月8日

3 - Alpha

pytest

pytest-mpiexec

pytest 插件,用于使用 mpiexec 运行单个测试

2024年7月29日

3 - Alpha

pytest

pytest-mpl

pytest 插件,帮助测试 Matplotlib 输出的图形

2024年2月14日

4 - Beta

pytest

pytest-mproc

低启动开销、可扩展、分布式测试 pytest 插件

2022年11月15日

4 - Beta

pytest (>=6)

pytest-mqtt

pytest-mqtt 支持测试基于 MQTT 的系统

2025年1月7日

5 - 生产/稳定

pytest<9; extra == “test”

pytest-multihost

用于为 pytest 编写多主机测试的实用程序

2020年4月7日

4 - Beta

不适用

pytest-multilog

pytest 的多进程日志处理和其他辅助工具

2023年1月17日

不适用

pytest

pytest-multithreading

一个用于 th 和并发测试的 pytest 插件

2024年8月5日

不适用

不适用

pytest-multithreading-allure

pytest_multithreading_allure

2022年11月25日

不适用

不适用

pytest-mutagen

为 pytest 添加变异测试功能

2020年7月24日

不适用

pytest (>=5.4)

pytest-my-cool-lib

2023年11月2日

不适用

pytest (>=7.1.3,<8.0.0)

pytest-my-plugin

一个能做很棒事情的 pytest 插件

2025年1月27日

不适用

pytest>=6.0

pytest-mypy

一个用于 Mypy 的 Pytest 插件

2025年4月2日

5 - 生产/稳定

pytest>=7.0

pytest-mypyd

Pytest 的 Mypy 静态类型检查器插件

2019年8月20日

4 - Beta

pytest (<4.7,>=2.8) ; python_version < “3.5”

pytest-mypy-plugins

pytest 插件,用于为 mypy 插件编写测试

2024年12月21日

4 - Beta

pytest>=7.0.0

pytest-mypy-plugins-shim

“pytest-mypy-plugins”的替代品,适用于 mypy 不支持的 Python 实现。

2025年2月14日

不适用

pytest>=6.0.0

pytest-mypy-runner

将 mypy 静态类型检查器作为 pytest 测试用例运行

2024年4月23日

不适用

pytest>=8.0

pytest-mypy-testing

Pytest 插件,用于检查 mypy 输出。

2024年3月4日

不适用

pytest>=7,<9

pytest-mysql

用于 pytest 的 MySQL 进程和客户端 fixture

2024年12月10日

5 - 生产/稳定

pytest>=6.2

pytest-ndb

pytest 笔记本调试器

2024年4月28日

不适用

pytest

pytest-needle

用于使用 selenium 进行网站视觉测试的 pytest 插件

2018年12月10日

4 - Beta

pytest (<5.0.0,>=3.0.0)

pytest-neo

pytest-neo 是一个 pytest 插件,它像 Matrix 屏幕一样显示测试。

2022年1月8日

3 - Alpha

pytest (>=6.2.0)

pytest-neos

neos 的 Pytest 插件

2024年9月10日

5 - 生产/稳定

pytest<8.0,>=7.2; extra == “dev”

pytest-netconf

一个 pytest 插件,提供一个模拟 NETCONF (RFC6241/RFC6242) 服务器用于本地测试。

2025年1月6日

不适用

不适用

pytest-netdut

“使用 pytest 对交换机进行自动化软件测试”

2025年4月11日

不适用

pytest>=3.5.0

pytest-network

一个禁用套接字级别网络的简单插件。

2020年5月7日

不适用

不适用

pytest-network-endpoints

pytest 的网络端点插件

2022年3月6日

不适用

pytest

pytest-never-sleep

pytest 插件有助于避免在没有模拟 `time.sleep` 的情况下添加测试

2021年5月5日

3 - Alpha

pytest (>=3.5.1)

pytest-nginx

pytest 的 nginx fixture

2025年5月3日

5 - 生产/稳定

pytest>=3.0.0

pytest-nginx-iplweb

pytest 的 nginx fixture - iplweb 临时分支

2019年3月1日

5 - 生产/稳定

不适用

pytest-ngrok

2022年1月20日

3 - Alpha

pytest

pytest-ngsfixtures

pytest ngs fixture

2019年9月6日

2 - 预 Alpha

pytest (>=5.0.0)

pytest-nhsd-apim

访问 NHSDigital 的 APIM 代理的 Pytest 插件

2025年4月1日

不适用

pytest<9.0.0,>=8.2.0

pytest-nice

一个 pytest 插件,通过屏幕通知提醒用户失败的测试用例

2019年5月4日

4 - Beta

pytest

pytest-nice-parametrize

PyTest Parametrize 更简洁的小片段

2021年4月17日

5 - 生产/稳定

不适用

pytest_nlcov

Pytest 插件,仅获取新行(基于 git diff)的覆盖率

2024年8月5日

不适用

不适用

pytest-nocustom

运行所有没有自定义标记的测试

2024年8月5日

5 - 生产/稳定

不适用

pytest-node-dependency

pytest 插件,用于控制执行流程

2024年4月10日

5 - 生产/稳定

不适用

pytest-nodev

适用于 Python 的测试驱动源代码搜索。

2016年7月21日

4 - Beta

pytest (>=2.8.1)

pytest-nogarbage

确保测试不产生垃圾

2025年2月24日

5 - 生产/稳定

pytest>=4.6.0

pytest-no-problem

Pytest 插件,告诉你何时没有问题

2025年4月5日

不适用

pytest>=7.0

pytest-nose-attrib

pytest 插件,用于使用 nose @attrib 标记装饰器,并根据属性选择测试,部分使用 nose-attrib 插件方法

2023年8月13日

不适用

不适用

pytest_notebook

一个用于测试 Jupyter Notebooks 的 pytest 插件。

2023年11月28日

4 - Beta

pytest>=3.5.0

pytest-notice

发送 pytest 执行结果邮件

2020年11月5日

不适用

不适用

pytest-notification

一个 pytest 插件,用于在测试完成后发送桌面通知和播放声音

2020年6月19日

不适用

pytest (>=4)

pytest-notifier

一个 pytest 插件,用于通知测试结果

2020年6月12日

3 - Alpha

pytest

pytest_notify

测试结束时获取通知

2017年7月5日

不适用

pytest>=3.0.0

pytest-notimplemented

用于未实现功能和测试的 Pytest 标记。

2019年8月27日

不适用

pytest (>=5.1,<6.0)

pytest-notion

一个 PyTest 报告器,用于将测试运行发送到 Notion.so

2019年8月7日

不适用

不适用

pytest-nunit

一个用于生成 NUnit3 测试结果 XML 输出的 pytest 插件

2024年2月26日

5 - 生产/稳定

不适用

pytest-oar

用于 OAR 测试框架的 PyTest 插件

2025年5月12日

不适用

pytest>=6.0.1

pytest-oarepo

2025年2月14日

不适用

pytest>=7.1.2; extra == “base”

pytest-object-getter

在按需模拟其命名空间的同时,从第三方模块导入任何对象。

2022年7月31日

5 - 生产/稳定

pytest

pytest-ochrus

pytest 结果数据库和 HTML 报告器

2018年2月21日

4 - Beta

不适用

pytest-odc

一个 pytest 插件,用于简化 ODC 数据库测试

2023年8月4日

4 - Beta

pytest (>=3.5.0)

pytest-odoo

py.test 插件,用于运行 Odoo 测试

2025年5月20日

5 - 生产/稳定

pytest>=8

pytest-odoo-fixtures

项目描述

2019年6月25日

不适用

不适用

pytest-oerp

pytest 插件,用于测试 OpenERP 模块

2012年2月28日

3 - Alpha

不适用

pytest-offline

2023年3月9日

1 - 规划中

pytest (>=7.0.0,<8.0.0)

pytest-ogsm-plugin

针对特定项目定制化插件,优化了pytest报告展示方式,并添加了项目所需特定参数

2023年5月16日

不适用

不适用

pytest-ok

终极 pytest 输出插件

2019年4月1日

4 - Beta

不适用

pytest-only

使用 @pytest.mark.only 运行单个测试

2024年5月27日

5 - 生产/稳定

pytest<9,>=3.6.0

pytest-oof

一个 Pytest 插件,提供对测试运行结果的结构化、程序化访问

2023年12月11日

4 - Beta

不适用

pytest-oot

以简单格式运行面向对象的测试

2016年9月18日

4 - Beta

不适用

pytest-openfiles

Pytest 插件,用于检测意外打开的文件句柄

2024年6月5日

3 - Alpha

pytest>=4.6

pytest-open-html

pytest 运行后自动打开 HTML 报告

2025年3月31日

不适用

pytest>=6.0

pytest-opentelemetry

一个 pytest 插件,用于通过 OpenTelemetry 检测测试运行

2025年4月25日

不适用

pytest

pytest-opentmi

pytest 插件,用于将结果发布到 opentmi

2025年3月22日

5 - 生产/稳定

pytest>=5.0

pytest-operator

运算符的 fixture

2022年9月28日

不适用

pytest

pytest-optional

在 pytest 中包含/排除 fixture 的值

2015年10月7日

不适用

不适用

pytest-optional-tests

轻松声明可选测试(即,默认不运行的测试)

2025年4月15日

4 - Beta

pytest; extra == “dev”

pytest-orchestration

一个用于编排测试的 pytest 插件

2019年7月18日

不适用

不适用

pytest-order

pytest 插件,用于按特定顺序运行测试

2024年8月22日

5 - 生产/稳定

pytest>=5.0; python_version < “3.10”

pytest-ordered

在 pytest.ini 中声明测试应运行的顺序

2024年10月7日

不适用

pytest>=6.2.0

pytest-ordering

pytest 插件,用于按特定顺序运行测试

2018年11月14日

4 - Beta

pytest

pytest-order-modify

新增run_marker 来自定义用例的执行顺序

2022年11月4日

不适用

不适用

pytest-osxnotify

py.test 结果的 OS X 通知。

2015年5月15日

不适用

不适用

pytest-ot

一个 pytest 插件,用于通过 OpenTelemetry 检测测试运行

2024年3月21日

不适用

pytest; extra == “dev”

pytest-otel

Pytest 的 OpenTelemetry 插件

2025年4月24日

不适用

pytest==8.3.5

pytest-override-env-var

Pytest 标记,用于覆盖环境变量的值。

2023年2月25日

不适用

不适用

pytest-owner

为测试添加所有者标记

2024年8月19日

不适用

pytest

pytest-pact

一个简单的 pytest 插件

2019年1月7日

4 - Beta

不适用

pytest-pagerduty

Pytest 插件,用于通过自动化测试集成 PagerDuty。

2025年3月22日

不适用

pytest<9.0.0,>=7.4.0

pytest-pahrametahrize

用波士顿口音参数化你的测试。

2021年11月24日

4 - Beta

pytest (>=6.0,<7.0)

pytest-parallel

一个用于并行和并发测试的 pytest 插件

2021年10月10日

3 - Alpha

pytest (>=3.0.0)

pytest-parallel-39

一个用于并行和并发测试的 pytest 插件

2021年7月12日

3 - Alpha

pytest (>=3.0.0)

pytest-parallelize-tests

pytest 插件,将测试执行并行化到多个主机

2023年1月27日

4 - Beta

不适用

pytest-param

pytest 插件,用于测试所有、第一个、最后一个或随机参数

2016年9月11日

4 - Beta

pytest (>=2.6.0)

pytest-parametrization

更简单的 PyTest 参数化

2022年5月22日

5 - 生产/稳定

不适用

pytest-parametrization-annotation

一个用于使用类型提示参数化测试的 pytest 库。

2024年12月10日

5 - 生产/稳定

pytest>=7

pytest-parametrize

用于以字典方式参数化测试用例的 pytest 装饰器

2024年11月10日

5 - 生产/稳定

pytest<9.0.0,>=8.3.0

pytest-parametrize-cases

编写参数化测试的一种更用户友好的方式。

2022年3月13日

不适用

pytest (>=6.1.2)

pytest-parametrized

Pytest 装饰器,用于使用默认可迭代对象参数化测试。

2024年12月21日

5 - 生产/稳定

pytest

pytest-parametrize-suite

一个用于创建命名测试套件的简单 pytest 扩展。

2023年1月19日

5 - 生产/稳定

pytest

pytest_param_files

从外部文件创建 pytest parametrize 装饰器。

2023年7月29日

不适用

pytest

pytest-params

简化的 pytest 测试用例参数。

2025年4月27日

5 - 生产/稳定

pytest>=7.0.0

pytest-param-scope

pytest parametrize 范围 fixture 解决方法

2023年10月18日

不适用

pytest

pytest-parawtf

最终正确拼写 paramete?ri[sz]e

2018年12月3日

4 - Beta

pytest (>=3.6.0)

pytest-pass

请查看 https://github.com/elilutsky/pytest-pass

2019年12月4日

不适用

不适用

pytest-passrunner

Pytest 插件,提供“run_on_pass”标记

2021年2月10日

5 - 生产/稳定

pytest (>=4.6.0)

pytest-paste-config

允许设置粘贴配置文件路径

2013年9月18日

3 - Alpha

不适用

pytest-patch

一个自动化的 `patch` fixture,可以直接或通过名称修补对象。

2023年4月29日

3 - Alpha

pytest (>=7.0.0)

pytest-patches

一个 contextmanager pytest fixture,用于处理多个模拟补丁

2021年8月30日

4 - Beta

pytest (>=3.5.0)

pytest-patterns

pytest 插件,使测试复杂的长字符串输出易于编写和调试

2024年10月22日

4 - Beta

pytest>=6

pytest-pdb

pytest 插件,添加与 pytest 相关的 pdb 辅助命令。

2018年7月31日

不适用

不适用

pytest-peach

pytest 插件,用于使用 Peach API Security 进行模糊测试

2019年4月12日

4 - Beta

pytest (>=2.8.7)

pytest-pep257

py.test 的 pep257 插件

2016年7月9日

不适用

不适用

pytest-pep8

pytest 插件,用于检查 PEP8 要求

2014年4月27日

不适用

不适用

pytest-percent

当通过所需百分比的测试时,更改 pytest 测试会话的退出代码。

2020年5月21日

不适用

pytest (>=5.2.0)

pytest-percents

2024年3月16日

不适用

不适用

pytest-perf

针对主线代码运行性能测试。

2024年5月20日

5 - 生产/稳定

pytest!=8.1.*,>=6; extra == “testing”

pytest-performance

一个简单的插件,用于确保代码关键部分的执行未受影响

2020年9月11日

5 - 生产/稳定

pytest (>=3.7.0)

pytest-performancetotal

pytest 的性能插件

2025年2月1日

5 - 生产/稳定

不适用

pytest-persistence

用于持久化对象的 Pytest 工具

2024年8月21日

不适用

不适用

pytest-pexpect

Pytest pexpect 插件。

2024年8月13日

4 - Beta

pytest>=6.2.0

pytest-pg

一个用于 pytest 的小插件,可在 Docker 中运行 PostgreSQL

2025年5月18日

5 - 生产/稳定

pytest>=7.4

pytest-pgsql

用于使用 Postgres 数据库的测试的 Pytest 插件和辅助工具。

2020年5月13日

5 - 生产/稳定

pytest (>=3.0.0)

pytest-phmdoctest

pytest 插件,用于使用 phmdoctest 测试 Markdown 中的 Python 示例。

2022年4月15日

4 - Beta

pytest (>=5.4.3)

pytest-phoenix-interface

phoenix 项目的 Pytest 扩展工具。

2025年3月19日

不适用

不适用

pytest-picked

运行与更改文件相关的测试

2024年11月6日

不适用

pytest>=3.7.0

pytest-pickle-cache

一个用于使用 pickle 缓存测试结果的 pytest 插件。

2025年2月17日

不适用

pytest>=7

pytest-pigeonhole

2018年6月25日

5 - 生产/稳定

pytest (>=3.4)

pytest-pikachu

测试通过时显示惊喜

2021年8月5日

5 - 生产/稳定

pytest

pytest-pilot

借助强大的标记在测试基础上进行切片。

2020年10月9日

5 - 生产/稳定

不适用

pytest-pingguo-pytest-plugin

pingguo test

2022年10月26日

4 - Beta

不适用

pytest-pings

🦊 用于 Firefox Telemetry 的 pytest 插件 📊

2019年6月29日

3 - Alpha

pytest (>=5.0.0)

pytest-pinned

一个用于固定测试的简单 pytest 插件

2021年9月17日

4 - Beta

pytest (>=3.5.0)

pytest-pinpoint

一个 pytest 插件,运行 SBFL 算法来检测缺陷。

2020年9月25日

不适用

pytest (>=4.4.0)

pytest-pipeline

用于数据分析管道功能测试的 Pytest 插件

2017年1月24日

3 - Alpha

不适用

pytest-pitch

以覆盖率尽可能快地增加的顺序运行测试

2023年11月2日

4 - Beta

pytest >=7.3.1

pytest-platform-adapter

Pytest集成自动化平台插件

2025年2月18日

5 - 生产/稳定

pytest>=6.2.5

pytest-platform-markers

用于 pytest 的标记,用于在特定平台上跳过测试

2019年9月9日

4 - Beta

pytest (>=3.6.0)

pytest-play

pytest 插件,允许你通过测试指标报告自动化操作和断言,执行纯 YAML 文件

2019年6月12日

5 - 生产/稳定

不适用

pytest-playbook

用于读取 playbook 的 Pytest 插件。

2021年1月21日

3 - Alpha

pytest (>=6.1.2,<7.0.0)

pytest-playwright

一个 pytest 包装器,带有用于 Playwright 的 fixture,可自动化网络浏览器

2025年1月31日

不适用

pytest<9.0.0,>=6.2.4

pytest_playwright_async

Playwright 的异步 Pytest 插件

2024年9月28日

不适用

不适用

pytest-playwright-asyncio

一个 pytest 包装器,带有用于 Playwright 的异步 fixture,可自动化网络浏览器

2025年1月31日

不适用

pytest<9.0.0,>=6.2.4

pytest-playwright-axe

用于使用 Playwright Python 进行可访问性测试的 axe-core 集成。

2025年3月27日

4 - Beta

不适用

pytest-playwright-enhanced

一个用于 playwright python 的 pytest 插件

2024年3月24日

不适用

pytest<9.0.0,>=8.0.0

pytest-playwrights

一个 pytest 包装器,带有用于 Playwright 的 fixture,可自动化网络浏览器

2021年12月2日

不适用

不适用

pytest-playwright-snapshot

一个用于 playwright 快照测试的 pytest 包装器

2021年8月19日

不适用

不适用

pytest-playwright-visual

用于使用 Playwright 进行视觉测试的 pytest fixture

2022年4月28日

不适用

不适用

pytest-playwright-visual-snapshot

使用 playwright 轻松进行 pytest 视觉回归测试

2025年4月15日

不适用

不适用

pytest-plone

pytest 插件,用于测试 Plone 插件

2025年3月27日

3 - Alpha

pytest<8.0.0

pytest-plt

用于在测试中快速生成 Matplotlib 图的 fixture

2024年1月17日

5 - 生产/稳定

pytest

pytest-plugin-helpers

一个帮助开发和测试其他插件的插件

2019年11月23日

4 - Beta

pytest (>=3.5.0)

pytest-plus

PyTest Plus 插件 :: 扩展 pytest 功能

2025年2月2日

5 - 生产/稳定

pytest>=7.4.2

pytest-pmisc

2019年3月21日

5 - 生产/稳定

不适用

pytest-pogo

用于 pogo-migrate 的 Pytest 插件

2025年5月5日

4 - Beta

pytest<9,>=7

pytest-pointers

Pytest 插件,用于使用特殊标记定义你测试的函数,以便更好地导航和报告

2022年12月26日

不适用

不适用

pytest-pokie

pytest 的 Pokie 插件

2023年10月19日

5 - 生产/稳定

不适用

pytest-polarion-cfme

pytest 插件,用于收集测试用例和记录测试结果

2017年11月13日

3 - Alpha

不适用

pytest-polarion-collect

pytest 插件,用于收集 polarion 测试用例数据

2020年6月18日

3 - Alpha

pytest

pytest-polecat

提供 Polecat pytest fixture

2019年8月12日

4 - Beta

不适用

pytest-ponyorm

Pytest 中的 PonyORM

2018年10月31日

不适用

pytest (>=3.1.1)

pytest-poo

可视化你的糟糕测试

2021年3月25日

5 - 生产/稳定

pytest (>=2.3.4)

pytest-poo-fail

用 poo 可视化你失败的测试

2015年2月12日

5 - 生产/稳定

不适用

pytest-pook

pook 的 Pytest 插件

2024年2月15日

4 - Beta

pytest

pytest-pop

一个 pytest 插件,用于帮助测试 pop 项目

2023年5月9日

5 - 生产/稳定

pytest

pytest-porcochu

测试通过时显示惊喜

2024年11月28日

5 - 生产/稳定

不适用

pytest-portion

选择收集到的测试的一部分

2021年1月28日

4 - Beta

pytest (>=3.5.0)

pytest-postgres

在 Pytest 中在 Docker 容器中运行 PostgreSQL。

2020年3月22日

不适用

pytest

pytest-postgresql

用于 Pytest 的 Postgresql fixture 和 fixture 工厂。

2025年5月17日

5 - 生产/稳定

pytest>=7.2

pytest-power

带有强大 fixture 的 pytest 插件

2020年12月31日

不适用

pytest (>=5.4)

pytest-powerpack

一个包含 pytest 额外电池的插件

2025年1月4日

不适用

pytest<9.0.0,>=8.1.1

pytest-prefer-nested-dup-tests

一个 Pytest 插件,在收集期间删除重复的测试,但会优先保留嵌套包。

2022年4月27日

4 - Beta

pytest (>=7.1.1,<8.0.0)

pytest-pretty

pytest 插件,用于按我想要的方式打印摘要数据

2023年4月5日

5 - 生产/稳定

pytest>=7

pytest-pretty-terminal

pytest 插件,用于生成更漂亮的终端输出

2022年1月31日

不适用

pytest (>=3.4.1)

pytest-pride

Minitest 风格的测试颜色

2016年4月2日

3 - Alpha

不适用

pytest-print

pytest-print 添加了 printer fixture,你可以使用它向用户打印消息(直接打印到 pytest 运行器,而不是 stdout)

2025年2月25日

5 - 生产/稳定

pytest>=8.3.2

pytest-priority

pytest 插件,用于为测试添加优先级

2024年8月19日

不适用

pytest

pytest-proceed

2024年10月1日

不适用

pytest

pytest-profiles

用于配置文件的 pytest 插件

2021年12月9日

4 - Beta

pytest (>=3.7.0)

pytest-profiling

py.test 的分析插件

2024年11月29日

5 - 生产/稳定

pytest

pytest-progress

pytest 插件,用于即时测试进度状态

2024年6月18日

5 - 生产/稳定

pytest>=2.7

pytest-prometheus

将测试通过/失败报告给 Prometheus PushGateway

2017年10月3日

不适用

不适用

pytest-prometheus-pushgateway

Zulip 的 Pytest 报告插件

2022年9月27日

5 - 生产/稳定

pytest

pytest-prometheus-pushgw

Pytest 插件,用于将测试指标导出到 Prometheus Pushgateway

2025年5月19日

不适用

pytest>=6.0.0

pytest-prosper

Prosper 项目的测试辅助工具

2018年9月24日

不适用

不适用

pytest-prysk

prysk 的 Pytest 插件

2024年12月10日

4 - Beta

pytest>=7.3.2

pytest-pspec

Python ptest 的 rspec 格式报告器

2020年6月2日

4 - Beta

pytest (>=3.0.0)

pytest-psqlgraph

pytest 插件,用于测试使用 psqlgraph 的应用程序

2021年10月19日

4 - Beta

pytest (>=6.0)

pytest-pt

pytest 插件,用于将 *.pt 文件用作测试

2024年9月22日

5 - 生产/稳定

pytest

pytest-ptera

在测试中使用 ptera 探针

2022年3月1日

不适用

pytest (>=6.2.4,<7.0.0)

pytest-publish

2024年6月4日

不适用

pytest<9.0.0,>=8.0.0

pytest-pudb

Pytest PuDB 调试器集成

2018年10月25日

3 - Alpha

pytest (>=2.0)

pytest-pumpkin-spice

一个 pytest 插件,使你的测试报告充满南瓜香料味

2022年9月18日

4 - Beta

不适用

pytest-purkinje

purkinje 测试运行器的 py.test 插件

2017年10月28日

2 - 预 Alpha

不适用

pytest-pusher

pytest 插件,用于将报告推送到 minio

2023年1月6日

5 - 生产/稳定

pytest (>=3.6)

pytest-py125

2022年12月3日

不适用

不适用

pytest-pycharm

py.test 插件,用于在未捕获的异常时进入 PyCharm 调试器

2020年8月13日

5 - 生产/稳定

pytest (>=2.3)

pytest-pycodestyle

运行 pycodestyle 的 pytest 插件

2024年10月10日

3 - Alpha

pytest>=7.0

pytest-pydantic-schema-sync

Pytest 插件,用于将 Pydantic 模型 schema 与 JSONSchema 文件同步

2024年8月29日

不适用

pytest>=6

pytest-pydev

py.test 插件,用于连接到 PyDev 或 PyCharm 的远程调试服务器。

2017年11月15日

3 - Alpha

不适用

pytest-pydocstyle

运行 pydocstyle 的 pytest 插件

2024年10月9日

3 - Alpha

pytest>=7.0

pytest-pylint

pytest 插件,用于使用 pylint 检查源代码

2023年10月6日

5 - 生产/稳定

pytest >=7.0

pytest-pylyzer

一个用于 pylyzer 的 pytest 插件

2025年2月15日

4 - Beta

不适用

pytest-pymysql-autorecord

记录 PyMySQL 查询并使用存储的数据进行模拟。

2022年9月2日

不适用

不适用

pytest-pyodide

用于测试使用 Pyodide 的应用程序的 Pytest 插件

2024年11月23日

不适用

pytest

pytest-pypi

轻松地针对本地 pypi 副本测试你的 HTTP 库

2018年3月4日

3 - Alpha

不适用

pytest-pypom-navigation

cookiecutter-qa 和 pytest-play 包的核心引擎

2019年2月18日

4 - Beta

pytest (>=3.0.7)

pytest-pyppeteer

一个在 pytest 中运行 pyppeteer 的插件

2022年4月28日

不适用

pytest (>=6.2.5,<7.0.0)

pytest-pyq

pyq 的 pytest fixture “q”

2020年3月10日

5 - 生产/稳定

不适用

pytest-pyramid

pytest_pyramid - 为使用 pytest 测试套件测试 pyramid 应用程序提供 fixture

2024年10月24日

5 - 生产/稳定

pytest

pytest-pyramid-server

py.test 的 Pyramid 服务器 fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-pyreport

PyReport 是一个轻量级的 pytest 报告插件,提供简洁的 HTML 报告

2024年5月5日

不适用

pytest

pytest-pyright

Pytest 插件,用于使用 Pyright 进行代码类型检查

2024年1月26日

4 - Beta

pytest >=7.0.0

pytest-pyspec

一个将 pytest 输出转换为类似于 RSpec 结果的插件。它支持使用 docstring 显示结果,并支持使用前缀“describe”、“with”和“it”。

2024年8月17日

不适用

pytest<9.0.0,>=8.3.2

pytest-pystack

插件,用于在测试套件超时后运行 pystack。

2024年11月16日

不适用

pytest>=3.5.0

pytest-pytestrail

Pytest 插件,用于与 TestRail 交互

2020年8月27日

4 - Beta

pytest (>=3.8.0)

pytest-pythonhashseed

Pytest 插件,用于设置 PYTHONHASHSEED 环境变量。

2024年2月25日

4 - Beta

pytest>=3.0.0

pytest-pythonpath

pytest 插件,用于从命令行或配置中添加到 PYTHONPATH。

2022年2月10日

5 - 生产/稳定

pytest (<7,>=2.5.2)

pytest-python-test-engineer-sort

Pytest 的排序插件

2024年5月13日

不适用

pytest>=6.2.0

pytest-pytorch

pytest 插件,为使用 PyTorch 测试套件的开发者提供更好的体验

2021年5月25日

4 - Beta

pytest

pytest-pyvenv

一个在测试中创建 venv 的包

2024年2月27日

不适用

pytest ; extra == ‘test’

pytest-pyvista

Pytest-pyvista 包

2023年9月29日

4 - Beta

pytest>=3.5.0

pytest-qanova

一个 pytest 插件,用于收集测试信息

2024年9月5日

3 - Alpha

pytest

pytest-qaseio

用于 Qase.io 集成的 Pytest 插件

2025年3月18日

5 - 生产/稳定

pytest<9.0.0,>=7.2.2

pytest-qasync

qasync 的 Pytest 支持。

2021年7月12日

4 - Beta

pytest (>=5.4.0)

pytest-qatouch

Pytest 插件,用于将测试结果上传到你的 QA Touch Testrun。

2023年2月14日

4 - Beta

pytest (>=6.2.0)

pytest-qgis

一个用于测试 QGIS python 插件的 pytest 插件

2024年6月14日

5 - 生产/稳定

pytest>=6.0

pytest-qml

使用 pytest 运行 QML 测试

2020年12月2日

4 - Beta

pytest (>=6.0.0)

pytest-qr

pytest 插件,用于生成测试结果二维码

2021年11月25日

4 - Beta

不适用

pytest-qt

pytest 对 PyQt 和 PySide 应用程序的支持

2024年2月7日

5 - 生产/稳定

pytest

pytest-qt-app

py.test 的 QT 应用 fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-quarantine

一个 pytest 插件,用于管理预期测试失败

2019年11月24日

5 - 生产/稳定

pytest (>=4.6)

pytest-quickcheck

pytest 插件,用于生成受 QuickCheck 启发随机数据

2022年11月5日

4 - Beta

pytest (>=4.0)

pytest_quickify

使用 pytest-quickify 运行测试套件。

2019年6月14日

不适用

pytest

pytest-rabbitmq

用于 pytest 的 RabbitMQ 进程和客户端 fixture

2024年10月15日

5 - 生产/稳定

pytest>=6.2

pytest-race

pytest 的竞争条件测试器

2022年6月7日

4 - Beta

不适用

pytest-rage

pytest 插件,用于实现 PEP712

2011年10月21日

3 - Alpha

不适用

pytest-rail

pytest 插件,用于创建 TestRail 运行并添加结果

2022年5月2日

不适用

pytest (>=3.6)

pytest-railflow-testrail-reporter

生成 JSON 报告以及测试标记中定义的指定元数据。

2022年6月29日

5 - 生产/稳定

pytest

pytest-raises

pytest.raises 作为 pytest.mark fixture 的实现

2020年4月23日

不适用

pytest (>=3.2.2)

pytest-raisesregexp

简单的 pytest 插件,用于在异常中查找正则表达式

2015年12月18日

不适用

不适用

pytest-raisin

插件,允许将异常实例与 pytest.raises 一起使用

2022年2月6日

不适用

pytest

pytest-random

py.test 插件,用于随机化测试

2013年4月28日

3 - Alpha

不适用

pytest-randomly

Pytest 插件,用于随机排序测试并控制 random.seed。

2024年10月25日

5 - 生产/稳定

pytest

pytest-randomness

Pytest 插件,用于随机种子管理

2019年5月30日

3 - Alpha

不适用

pytest-random-num

随机化 pytest 测试的运行顺序,并对随机性进行一些控制

2020年10月19日

5 - 生产/稳定

不适用

pytest-random-order

随机化 pytest 测试的运行顺序,并对随机性进行一些控制

2024年1月20日

5 - 生产/稳定

pytest >=3.0.0

pytest-ranking

一个 Pytest 插件,通过回归测试优先级排序实现更快的故障检测

2025年4月8日

4 - Beta

pytest>=7.4.3

pytest-readme

测试你的 README.md 文件

2022年9月2日

5 - 生产/稳定

不适用

pytest-reana

REANA 的 Pytest fixture。

2024年9月4日

3 - Alpha

不适用

pytest-recorder

Pytest 插件,旨在方便为消费 Web API 的工具编写单元测试。

2025年3月31日

不适用

不适用

pytest-recording

一个由 VCR.py 提供支持的 pytest 插件,用于记录和重放 HTTP 流量

2025年5月8日

4 - Beta

pytest>=3.5.0

pytest-recordings

提供 pytest 插件,用于向 ReportPortal 报告请求/响应流量、屏幕截图等

2020年8月13日

不适用

不适用

pytest-record-video

用例执行过程中录制视频

2024年10月31日

不适用

不适用

pytest-redis

用于 Pytest 的 Redis fixture 和 fixture 工厂。

2024年11月27日

5 - 生产/稳定

pytest>=6.2

pytest-redislite

用于测试使用 Redis 的代码的 Pytest 插件

2022年4月5日

4 - Beta

pytest

pytest-redmine

redmine 的 Pytest 插件

2018年3月19日

1 - 规划中

不适用

pytest-ref

一个存储参考文件以简化回归测试的插件

2019年11月23日

4 - Beta

pytest (>=3.5.0)

pytest-reference-formatter

方便地运行 pytest,使用点格式的测试引用。

2019年10月1日

4 - Beta

不适用

pytest-regex

使用正则表达式选择 pytest 测试

2023年5月29日

4 - Beta

pytest (>=3.5.0)

pytest-regex-dependency

通过正则表达式模式管理 Pytest 依赖

2022年6月12日

不适用

pytest

pytest-regressions

易于使用的 fixture,用于编写回归测试。

2025年5月30日

5 - 生产/稳定

pytest>=6.2.0

pytest-regtest

用于快照回归测试的 pytest 插件

2024年11月12日

不适用

pytest>7.2

pytest-relative-order

一个 pytest 插件,使用“before”和“after”标记对测试进行排序

2021年5月17日

4 - Beta

不适用

pytest-relative-path

处理 pytest 选项或 ini 配置中的相对路径

2024年8月30日

不适用

pytest

pytest-relaxed

pytest 的宽松测试发现/组织

2024年3月29日

5 - 生产/稳定

pytest>=7

pytest-remfiles

Pytest 插件,用于创建包含远程文件的临时目录

2019年7月1日

5 - 生产/稳定

不适用

pytest-remotedata

Pytest 插件,用于控制远程数据访问。

2023年9月26日

5 - 生产/稳定

pytest >=4.6

pytest-remote-response

Pytest 插件,用于捕获和模拟连接请求。

2023年4月26日

5 - 生产/稳定

pytest (>=4.6)

pytest-remove-stale-bytecode

py.test 插件,用于删除过时的字节码文件。

2023年7月7日

4 - Beta

pytest

pytest-reorder

根据测试的路径和名称重新排序测试。

2018年5月31日

4 - Beta

pytest

pytest-repeat

用于重复测试的 pytest 插件

2025年4月7日

5 - 生产/稳定

pytest

pytest_repeater

py.test 插件,用于多次重复单个测试。

2018年2月9日

1 - 规划中

不适用

pytest-replay

保存以前的测试运行并允许重新执行以前的 pytest 运行以重现崩溃或不稳定测试

2025年2月5日

5 - 生产/稳定

pytest

pytest-repo-health

一个 pytest 插件,用于报告仓库标准符合性

2025年5月5日

3 - Alpha

pytest

pytest-report

创建与 atom.io 的 linter 消息格式兼容的 JSON 报告

2016年5月11日

4 - Beta

不适用

pytest-reporter

使用模板生成 Pytest 报告

2024年2月28日

4 - Beta

pytest

pytest-reporter-html1

Pytest 的基本 HTML 报告模板

2025年5月6日

4 - Beta

不适用

pytest-reporter-html-dots

一个使用 Jinja2 模板引擎的 pytest 基本 HTML 报告。

2025年4月26日

不适用

不适用

pytest-reporter-plus

Pytest 的轻量级增强型 HTML 报告器

2025年5月31日

不适用

不适用

pytest-report-extras

Pytest 插件,通过添加评论、屏幕截图、网页源和附件来增强 pytest-html 和 allure 报告。

2025年4月4日

不适用

pytest>=8.0.0

pytest-reportinfra

reportinfra 的 Pytest 插件

2019年8月11日

3 - Alpha

不适用

pytest-reporting

一个插件,以表格格式报告摘要结果

2019年10月25日

4 - Beta

pytest (>=3.5.0)

pytest-reportlog

--resultlog 选项的替代品,专注于简单性和可扩展性

2023年5月22日

3 - Alpha

pytest

pytest-report-me

一个 pytest 插件,用于生成报告。

2020年12月31日

不适用

pytest

pytest-report-parameters

pytest 插件,用于将测试参数添加到 junit 报告

2020年6月18日

3 - Alpha

pytest (>=2.4.2)

pytest-reportportal

用于向 Report Portal 报告测试结果的代理

2025年2月28日

不适用

pytest>=4.6.10

pytest-report-stream

一个允许在运行时流式传输测试报告的 pytest 插件

2023年10月22日

4 - Beta

不适用

pytest-repo-structure

Pytest 仓库结构

2024年3月18日

1 - 规划中

不适用

pytest-req

pytest 请求插件

2024年8月31日

5 - 生产/稳定

pytest<9.0.0,>=8.3.2

pytest-reqs

pytest 插件,用于检查固定的需求

2019年5月12日

不适用

pytest (>=2.4.2)

pytest-requests

一个简单的 pytest 插件

2019年6月24日

4 - Beta

pytest (>=3.5.0)

pytest-requestselapsed

收集并显示 HTTP 请求耗时

2022年8月14日

不适用

不适用

pytest-requests-futures

Pytest 插件,用于模拟 Requests Futures

2022年7月6日

5 - 生产/稳定

pytest

pytest-requirements

pytest 插件,用于使用自定义标记将测试与需求和用例关联

2025年2月28日

不适用

pytest

pytest-requires

一个 pytest 插件,用于优雅地跳过带有可选需求的测试

2021年12月21日

4 - Beta

pytest (>=3.5.0)

pytest-reraise

使多线程 pytest 测试用例在应该失败时失败

2022年9月20日

5 - 生产/稳定

pytest (>=4.6)

pytest-rerun

仅重新运行指定分支中更改的文件

2019年7月8日

不适用

pytest (>=3.6)

pytest-rerun-all

在特定时间或迭代中重新运行测试套件

2023年11月16日

3 - Alpha

pytest (>=7.0.0)

pytest-rerunclassfailures

pytest 重新运行类失败插件

2024年4月24日

5 - 生产/稳定

pytest>=7.2

pytest-rerunfailures

pytest 插件,用于重新运行测试以消除不稳定失败

2025年5月8日

5 - 生产/稳定

pytest!=8.2.2,>=7.4

pytest-rerunfailures-all-logs

pytest 插件,用于重新运行测试以消除不稳定失败

2022年3月7日

5 - 生产/稳定

不适用

pytest-reserial

Pytest fixture,用于记录和重放串口流量。

2024年12月22日

4 - Beta

pytest

pytest-resilient-circuits

PyTest 的 Resilient Circuits fixture

2025年2月28日

不适用

pytest~=7.0

pytest-resource

加载资源 fixture 插件,与 pytest 一起使用

2018年11月14日

4 - Beta

不适用

pytest-resource-path

为隔离目录中测试资源的统一访问提供路径

2025年5月15日

5 - 生产/稳定

pytest>=3.5.0

pytest-resource-usage

Pytest 插件,用于报告运行时间和峰值内存使用情况

2022年11月6日

5 - 生产/稳定

pytest>=7.0.0

pytest-responsemock

pytest 的简化请求调用模拟

2022年3月10日

5 - 生产/稳定

不适用

pytest-responses

responses 的 py.test 集成

2022年10月11日

不适用

pytest (>=2.5)

pytest-rest-api

2022年8月8日

不适用

pytest (>=7.1.2,<8.0.0)

pytest-restrict

Pytest 插件,用于限制允许的测试类型

2024年10月24日

5 - 生产/稳定

pytest

pytest-result-log

一个 pytest 插件,用于记录每个用例的开始、结束和结果信息到日志文件

2024年1月10日

不适用

pytest>=7.2.0

pytest-result-notify

PDM 包的默认模板

2025年4月27日

不适用

pytest>=8.3.5

pytest-results

轻松发现测试中的回归。

2025年5月6日

4 - Beta

pytest

pytest-result-sender

2023年4月20日

不适用

pytest>=7.3.1

pytest-result-sender-jms

PDM 包的默认模板

2025年5月22日

不适用

pytest>=8.3.5

pytest-result-sender-lj

PDM 包的默认模板

2024年12月17日

不适用

pytest>=8.3.4

pytest-result-sender-lyt

PDM 包的默认模板

2025年3月14日

不适用

pytest>=8.3.5

pytest-result-sender-misszhang

PDM 包的默认模板

2025年3月21日

不适用

pytest>=8.3.5

pytest-resume

一个 Pytest 插件,用于从上次运行的测试中恢复

2023年4月22日

4 - Beta

pytest (>=7.0)

pytest-rethinkdb

pytest 的 RethinkDB 插件。

2016年7月24日

4 - Beta

不适用

pytest-retry

添加在 CI 环境中重试不稳定测试的功能

2025年1月19日

不适用

pytest>=7.0.0

pytest-retry-class

一个 pytest 插件,用于在失败时重新运行整个类

2024年11月24日

不适用

pytest>=5.3

pytest-reusable-testcases

2023年4月28日

不适用

不适用

pytest-revealtype-injector

Pytest 插件,用于将测试函数中的 `reveal_type()` 调用替换为静态和运行时类型检查结果比较,以确认类型注解的有效性。

2025年3月18日

4 - Beta

pytest<9,>=7.0

pytest-reverse

Pytest 插件,用于反转测试顺序。

2024年10月25日

5 - 生产/稳定

pytest

pytest-rich

利用 rich 实现更丰富的测试会话输出

2024年12月12日

4 - Beta

pytest>=7.0

pytest-richer

提供基于 Rich 的报告器的 Pytest 插件。

2023年10月27日

3 - Alpha

pytest

pytest-rich-reporter

一个使用 Rich 进行漂亮测试结果格式化的 pytest 插件。

2022年2月17日

1 - 规划中

pytest (>=5.0.0)

pytest-richtrace

一个 pytest 插件,显示 pytest 钩子函数执行时的名称和信息。

2023年6月20日

不适用

不适用

pytest-ringo

pytest 插件,用于使用 Ringo web 框架测试 Web 应用程序

2017年9月27日

3 - Alpha

不适用

pytest-rmsis

将 pytest 结果同步到 Jira RMsis

2022年8月10日

不适用

pytest (>=5.3.5)

pytest-rng

用于为测试设置种子并使随机性可重现的 fixture

2019年8月8日

5 - 生产/稳定

pytest

pytest-roast

ROAST 配置覆盖和 fixture 的 pytest 插件

2022年11月9日

5 - 生产/稳定

pytest

pytest_robotframework

一个 pytest 插件,可以运行 Python 和 Robot Framework 测试,并为它们生成 Robot 报告

2025年4月13日

不适用

pytest<9,>=7

pytest-rocketchat

Pytest 到 Rocket.Chat 报告插件

2021年4月18日

5 - 生产/稳定

不适用

pytest-rotest

Pytest 与 rotest 集成

2019年9月8日

不适用

pytest (>=3.5.0)

pytest-rpc

扩展 py.test 以进行 RPC OpenStack 测试。

2019年2月22日

4 - Beta

pytest (约等于3.6)

pytest-rst

使用 pytest 测试 RST 文档中的代码

2023年1月26日

不适用

不适用

pytest-rt

Testgr 的 pytest 数据收集器插件

2022年5月5日

不适用

不适用

pytest-rts

基于覆盖率的回归测试选择(RTS)pytest 插件

2021年5月17日

不适用

pytest

pytest-ruff

用于检查 ruff 需求的 pytest 插件。

2024年7月21日

4 - Beta

pytest>=5

pytest-run-changed

仅运行更改过的测试的 Pytest 插件

2021年4月2日

3 - Alpha

pytest

pytest-runfailed

为 pytest 实现 --failed 选项

2016年3月24日

不适用

不适用

pytest-run-parallel

一个简单的 pytest 插件,用于并发运行测试

2025年5月27日

4 - Beta

pytest>=6.2.0

pytest-run-subprocess

用于运行和测试子进程的 Pytest 插件。

2022年11月12日

5 - 生产/稳定

pytest

pytest-runtime-types

在运行测试时检查运行时类型注解。

2023年2月9日

不适用

pytest

pytest-runtime-xfail

调用 runtime_xfail() 将正在运行的测试标记为 xfail。

2021年8月26日

不适用

pytest>=5.0.0

pytest-runtime-yoyo

运行用例标记超时

2023年6月12日

不适用

pytest (>=7.2.0)

pytest-saccharin

pytest-saccharin 是 pytest-sugar 的一个更新分支,pytest-sugar 是一个 pytest 插件,它改变了 pytest 的默认外观和感觉(例如进度条,即时显示失败的测试)。

2022年10月31日

3 - Alpha

不适用

pytest-salt

Pytest Salt 插件

2020年1月27日

4 - Beta

不适用

pytest-salt-containers

一个用于构建和创建 Docker 容器的 Pytest 插件

2016年11月9日

4 - Beta

不适用

pytest-salt-factories

Pytest Salt 插件

2024年10月22日

5 - 生产/稳定

pytest>=7.4.0

pytest-salt-from-filenames

专为 Salt 测试套件设计的简单 PyTest 插件

2019年1月29日

4 - Beta

pytest (>=4.1)

pytest-salt-runtests-bridge

专为 Salt 测试套件设计的简单 PyTest 插件

2019年12月5日

4 - Beta

pytest (>=4.1)

pytest-sample-argvalues

一个实用函数,用于帮助在 pytest 中从 argvalues 中选择一个随机样本。

2024年5月7日

不适用

pytest

pytest-sanic

Sanic 的 pytest 插件

2021年10月25日

不适用

pytest (>=5.2)

pytest-sanitizer

一个用于净化 LLM 输出的 pytest 插件(个人工具,无担保或责任)

2025年3月16日

3 - Alpha

pytest>=6.0.0

pytest-sanity

2020年12月7日

不适用

不适用

pytest-sa-pg

2019年5月14日

不适用

不适用

pytest_sauce

pytest_sauce 提供了在 clearcode 中实现健全且有用的方法,用于使用 selenium/saucelabs 运行 py.test 测试

2014年7月14日

3 - Alpha

不适用

pytest-sbase

一个用于端到端测试的完整 Web 自动化框架。

2025年5月27日

5 - 生产/稳定

不适用

pytest-scenario

用于测试场景的 pytest 插件

2017年2月6日

3 - Alpha

不适用

pytest-scenario-files

一个从数据文件生成单元测试场景的 pytest 插件。

2025年5月21日

5 - 生产/稳定

pytest>=7.0

pytest-schedule

在本地机器上轻松自动化和定制测试调度。

2024年10月31日

不适用

不适用

pytest-schema

👍 在测试中根据类似 Schema 的对象验证返回值

2024年2月16日

5 - 生产/稳定

pytest >=3.5.0

pytest-scim2-server

用于 Pytest 的 SCIM2 服务器 fixture

2025年5月14日

4 - Beta

pytest>=8.3.4

pytest-screenshot-on-failure

当 pytest 执行中的测试用例失败时保存截图

2023年7月21日

4 - Beta

不适用

pytest-scrutinize

审查您的 pytest 测试套件,查找慢速 fixture、测试等。

2024年8月19日

4 - Beta

pytest>=6

pytest-securestore

用于 pytest 用例中的加密密码存储

2021年11月8日

4 - Beta

不适用

pytest-select

一个 pytest 插件,允许从文件中(取消)选择测试。

2019年1月18日

3 - Alpha

pytest (>=3.0)

pytest-selenium

Selenium 的 pytest 插件

2024年2月1日

5 - 生产/稳定

pytest>=6.0.0

pytest-selenium-auto

在 Selenium webdriver 事件发生时自动捕获截图的 pytest 插件

2023年11月7日

不适用

pytest >= 7.0.0

pytest-seleniumbase

一个用于端到端测试的完整 Web 自动化框架。

2025年5月27日

5 - 生产/稳定

不适用

pytest-selenium-enhancer

Selenium 的 pytest 插件

2022年4月29日

5 - 生产/稳定

不适用

pytest-selenium-pdiff

一个实现 Selenium 测试感知差异的 pytest 包。

2017年4月6日

2 - 预 Alpha

不适用

pytest-selfie

用于 selfie 快照测试的 pytest 插件。

2024年12月16日

不适用

pytest>=8.0.0

pytest-send-email

发送 pytest 执行结果邮件

2024年9月2日

不适用

pytest

pytest-sentry

一个 pytest 插件,用于将测试运行信息发送到 Sentry.io

2025年5月23日

不适用

pytest

pytest-sequence-markers

用于测试执行排序标记的 Pytest 插件

2023年5月23日

5 - 生产/稳定

不适用

pytest-server

测试服务器执行命令

2024年9月9日

不适用

不适用

pytest-server-fixtures

py.test 的可扩展服务器 fixture

2024年11月29日

5 - 生产/稳定

pytest

pytest-serverless

使用 moto 在 pytest 中自动模拟 serverless.yml 中的资源。

2022年5月9日

4 - Beta

不适用

pytest-servers

pytest 服务器

2025年3月12日

3 - Alpha

pytest>=6.2

pytest-service

2024年8月6日

5 - 生产/稳定

pytest>=6.0.0

pytest-services

pytest 测试框架的服务插件

2020年10月30日

6 - 成熟

不适用

pytest-session2file

pytest-session2file(又名:v0.1.0 - v0.1.2 的 pytest-session_to_file)是一个 py.test 插件,用于捕获 py.test 的 stdout 并保存到文件。

2021年1月26日

3 - Alpha

pytest

pytest-session-fixture-globalize

py.test 插件,使 session fixture 表现得像在 conftest 中编写一样,即使它是在某些模块中编写的

2018年5月15日

4 - Beta

不适用

pytest-session_to_file

pytest-session_to_file 是一个 py.test 插件,用于捕获 py.test 的 stdout 并保存到文件。

2015年10月1日

3 - Alpha

不适用

pytest-setupinfo

在 pytest 命令运行期间显示安装信息

2023年1月23日

不适用

不适用

pytest-sftpserver

py.test 插件,用于本地测试 sftp 服务器连接。

2019年9月16日

4 - Beta

不适用

pytest-shard

2020年12月11日

4 - Beta

pytest

pytest-shard-fork

分片测试以支持跨多台机器的并行性

2025年5月17日

4 - Beta

pytest

pytest-shared-session-scope

与 xdist 兼容的 Pytest session 范围 fixture

2024年9月22日

不适用

pytest>=7.0.0

pytest-share-hdf

用于将测试数据保存到 HDF 文件并检索进行比较的插件

2022年9月21日

4 - Beta

pytest (>=3.5.0)

pytest-sharkreport

这是一个 pytest 报告插件。

2022年7月11日

不适用

pytest (>=3.5)

pytest-shell

一个 pytest 插件,用于帮助测试 shell 脚本/黑盒命令

2022年3月27日

不适用

不适用

pytest-shell-utilities

简化在系统上运行 shell 命令的 Pytest 插件

2024年10月22日

5 - 生产/稳定

pytest>=7.4.0

pytest-sheraf

多功能 ZODB 抽象层 - pytest fixture

2020年2月11日

不适用

pytest

pytest-sherlock

pytest 插件,用于帮助查找耦合测试

2023年8月14日

5 - 生产/稳定

pytest >=3.5.1

pytest-shortcuts

扩展 pytest 配置中列出的命令行快捷方式

2020年10月29日

4 - Beta

pytest (>=3.5.0)

pytest-shutil

py.test 的 Unix shell 和环境工具宝库

2024年11月29日

5 - 生产/稳定

pytest

pytest-simbind

Pytest 插件,用于操作 Simbind 工具生成的对象。

2024年3月28日

不适用

pytest>=7.0.0

pytest-simplehttpserver

简单的 pytest fixture,用于启动 HTTP 服务器

2021年6月24日

4 - Beta

不适用

pytest-simple-plugin

简单的 pytest 插件

2019年11月27日

不适用

不适用

pytest-simple-settings

simple-settings 的 pytest 插件

2020年11月17日

4 - Beta

pytest

pytest-single-file-logging

允许多个进程记录到单个文件

2016年5月5日

4 - Beta

pytest (>=2.8.1)

pytest-skip

一个 pytest 插件,允许从文件中(取消)选择或跳过测试。

2025年4月4日

3 - Alpha

pytest

pytest-skip-markers

Pytest Salt 插件

2024年8月9日

5 - 生产/稳定

pytest>=7.1.0

pytest-skipper

一个只选择执行路径中发生变化的测试的插件

2017年3月26日

3 - Alpha

pytest (>=3.0.6)

pytest-skippy

自动跳过不需要运行的测试!

2018年1月27日

3 - Alpha

pytest (>=2.3.4)

pytest-skip-slow

一个 pytest 插件,默认跳过 `@pytest.mark.slow` 测试。

2023年2月9日

不适用

pytest>=6.2.0

pytest-skipuntil

一个简单的 pytest 插件,用于跳过有截止日期的不稳定测试

2023年11月25日

4 - Beta

pytest >=3.8.0

pytest-slack

Pytest 到 Slack 报告插件

2020年12月15日

5 - 生产/稳定

不适用

pytest-slow

一个 pytest 插件,默认跳过 `@pytest.mark.slow` 测试。

2021年9月28日

不适用

不适用

pytest-slowest-first

按上次持续时间排序测试,最慢的在前

2022年12月11日

4 - Beta

不适用

pytest-slow-first

优先运行最慢的测试。

2024年1月30日

4 - Beta

pytest >=3.5.0

pytest-slow-last

按执行时间顺序运行测试(更快的测试在前)

2025年3月16日

4 - Beta

pytest>=3.5.0

pytest-smartcollect

一个用于收集涉及更改代码的测试的插件

2018年10月4日

不适用

pytest (>=3.5.0)

pytest-smartcov

pytest 的智能覆盖率插件。

2017年9月30日

3 - Alpha

不适用

pytest-smell

用于 Pytest 的自动化坏味道检测工具

2022年6月26日

不适用

不适用

pytest-smoke

用于冒烟测试的 Pytest 插件

2025年5月23日

4 - Beta

pytest<9,>=7.0.0

pytest-smtp

使用 pytest 执行结果发送电子邮件

2021年2月20日

不适用

pytest

pytest-smtp4dev

smtp4dev API 插件

2023年6月27日

5 - 生产/稳定

不适用

pytest-smtpd

基于 aiosmtpd 构建的用于测试的 SMTP 服务器

2023年5月15日

不适用

pytest

pytest-smtp-test-server

pytest 插件,用于将 `smtp-test-server` 作为 fixture 使用

2023年12月3日

2 - 预 Alpha

pytest (>=7.4.3,<8.0.0)

pytest-snail

为慢速运行测试添加标记的插件。🐌

2019年11月4日

3 - Alpha

pytest (>=5.0.1)

pytest-snapci

Snap-CI 的 py.test 插件

2015年11月12日

不适用

不适用

pytest-snapmock

您的 mock 的快照。

2024年11月15日

不适用

不适用

pytest-snapshot

一个用于 pytest 快照测试的插件。

2022年4月23日

4 - Beta

pytest (>=3.0.0)

pytest-snapshot-with-message-generator

一个用于 pytest 快照测试的插件。

2023年7月25日

4 - Beta

pytest (>=3.0.0)

pytest-snmpserver

2021年5月12日

不适用

不适用

pytest-snob

一个 pytest 插件,只选择有意义的 Python 测试来运行。

2025年1月12日

不适用

pytest

pytest-snowflake-bdd

以 BDD 风格在 Snowflake 上设置测试数据并运行测试!

2022年1月5日

4 - Beta

pytest (>=6.2.0)

pytest-socket

在测试期间禁用套接字调用的 Pytest 插件

2024年1月28日

4 - Beta

pytest (>=6.2.5)

pytest-sofaepione

测试 SOFA 和 SofaEpione 插件的安装。

2022年8月17日

不适用

不适用

pytest-soft-assertions

2020年5月5日

3 - Alpha

pytest

pytest-solidity

一个用于 Solidity 语言的 PyTest 库插件。

2022年1月15日

1 - 规划中

pytest (<7,>=6.0.1) ; extra == ‘tests’

pytest-solr

py.test 的 Solr 进程和客户端 fixture。

2020年5月11日

3 - Alpha

pytest (>=3.0.0)

pytest-sort

测试用例排序工具

2025年3月22日

不适用

pytest>=7.4.0

pytest-sorter

一个简单的插件,首先执行历史上失败次数更多的测试

2021年4月20日

4 - Beta

pytest (>=3.1.1)

pytest-sosu

Sauce Labs 的非官方 PyTest 插件

2023年8月4日

2 - 预 Alpha

pytest

pytest-sourceorder

pytest 的测试排序插件

2021年9月1日

4 - Beta

pytest

pytest-spark

支持 pyspark 的 pytest 插件,用于运行测试。

2025年5月21日

4 - Beta

pytest

pytest-spawner

py.test 插件,用于生成进程并与其通信。

2015年7月31日

4 - Beta

不适用

pytest-spec

pytest-spec 库是一个 pytest 插件,用于像规范一样显示测试执行输出。

2024年8月4日

不适用

pytest; extra == “test”

pytest-spec2md

pytest-spec2md 库是一个 pytest 插件,用于在运行 pytest 时创建 Markdown 规范。

2024年4月10日

不适用

pytest>7.0

pytest-speed

带有 pytest 集成的现代 Python 基准测试库。

2023年1月22日

3 - Alpha

pytest>=7

pytest-sphinx

支持 Sphinx 特定 doctest 指令的 pytest doctest 插件

2024年4月13日

4 - Beta

pytest>=8.1.1

pytest-spiratest

将单元测试导出为 Spira (SpiraTest/Team/Plan) 中的测试运行

2024年1月1日

不适用

不适用

pytest-splinter

Splinter 插件,用于 pytest 测试框架

2022年9月9日

6 - 成熟

pytest (>=3.0.0)

pytest-splinter4

splinter 自动化库的 Pytest 插件

2024年2月1日

6 - 成熟

pytest >=8.0.0

pytest-split

pytest 插件,根据测试执行时间将测试套件分成大小相等的子套件。

2024年10月16日

4 - Beta

pytest<9,>=5

pytest-split-ext

pytest 插件,根据测试执行时间将测试套件分成大小相等的子套件。

2023年9月23日

4 - Beta

pytest (>=5,<8)

pytest-splitio

Split.io SDK 集成用于端到端测试

2020年9月22日

不适用

pytest (<7,>=5.0)

pytest-split-tests

一个 Pytest 插件,通过将测试分成大小相等的组来运行您的测试子集。从 Mark Adams 的原始项目 pytest-test-groups 分叉而来。

2021年7月30日

5 - 生产/稳定

pytest (>=2.5)

pytest-split-tests-tresorit

2021年2月22日

1 - 规划中

不适用

pytest-splunk-addon

一个用于 Splunk 应用程序和附加组件的动态测试工具

2025年5月14日

不适用

pytest<8,>5.4.0

pytest-splunk-addon-ui-smartx

支持测试 Splunk Add-on UX 的库

2025年3月19日

不适用

不适用

pytest-splunk-env

用于与 Splunk Enterprise 和 Splunk Cloud 交互的 pytest fixture

2020年10月22日

不适用

pytest (>=6.1.1,<7.0.0)

pytest-sqitch

用于 pytest 的 sqitch

2020年4月6日

4 - Beta

不适用

pytest-sqlalchemy

带有 sqlalchemy 相关 fixture 的 pytest 插件

2025年4月19日

3 - Alpha

pytest>=8.0

pytest-sqlalchemy-mock

用于 mock 的 pytest sqlalchemy 插件

2024年8月10日

3 - Alpha

pytest>=7.0.0

pytest-sqlalchemy-session

一个用于保持使用 SQLAlchemy 的测试隔离的 pytest 插件。

2023年5月19日

4 - Beta

pytest (>=7.0)

pytest-sql-bigquery

另一个由 pytest 插件提供的用于 BigQuery 的 SQL 测试框架

2019年12月19日

不适用

pytest

pytest-sqlfluff

一个 pytest 插件,用于使用 sqlfluff 启用 SQL 文件格式检查。

2022年12月21日

4 - Beta

pytest (>=3.5.0)

pytest-sqlguard

用于记录和检查 SQLAlchemy 进行的 SQL 查询的 Pytest fixture

2025年3月11日

4 - Beta

pytest>=7

pytest-squadcast

Squadcast 的 Pytest 报告插件

2022年2月22日

5 - 生产/稳定

pytest

pytest-srcpaths

将路径添加到 sys.path

2021年10月15日

不适用

pytest>=6.2.0

pytest-ssh

用于 ssh 命令运行的 pytest 插件

2019年5月27日

不适用

pytest

pytest-start-from

从给定点开始 pytest 运行

2016年4月11日

不适用

不适用

pytest-static

pytest-static

2025年5月25日

3 - Alpha

pytest<8.0.0,>=7.4.3

pytest-stats

收集测试元数据以供将来分析,易于扩展到任何数据存储

2024年7月18日

不适用

pytest>=8.0.0

pytest-statsd

用于向 graphite 报告的 pytest 插件

2018年11月30日

5 - 生产/稳定

pytest (>=3.0.0)

pytest-status

为测试添加状态标记

2024年8月22日

不适用

pytest

pytest-stepfunctions

一个简短的描述

2021年5月8日

4 - Beta

pytest

pytest-steps

在 pytest 中创建分步/增量测试。

2021年9月23日

5 - 生产/稳定

不适用

pytest-stepwise

一次运行一个失败测试的测试套件。

2015年12月1日

4 - Beta

不适用

pytest-stf

openSTF 的 pytest 插件

2024年9月24日

不适用

pytest>=5.0

pytest-stochastics

pytest 插件,允许选择性地运行测试多次并接受 *某些* 失败。

2024年12月1日

不适用

pytest<9.0.0,>=8.0.0

pytest-stoq

pytest stoq 的插件

2021年2月9日

4 - Beta

不适用

pytest-store

Pytest 插件,用于存储测试运行中的值

2024年9月4日

3 - Alpha

pytest>=7.0.0

pytest-streaming

用于在本地和 CI/CD 中使用 pytest 测试 pubsub、pulsar 和 kafka 系统的插件

2025年5月28日

5 - 生产/稳定

pytest>=8.3.5

pytest-stress

一个 Pytest 插件,允许您在用户定义的时间内循环测试。

2019年12月7日

4 - Beta

pytest (>=3.6.0)

pytest-structlog

结构化日志断言

2024年7月25日

不适用

pytest

pytest-structmpd

提供结构化临时目录

2018年10月17日

不适用

不适用

pytest-stub

存根包、模块和属性。

2020年4月28日

5 - 生产/稳定

不适用

pytest-stubprocess

为 Python 测试中的子进程提供存根实现

2018年9月17日

3 - Alpha

pytest (>=3.5.0)

pytest-study

一个 pytest 插件,用于组织长时间运行的测试(称为研究),而不干扰常规测试

2017年9月26日

3 - Alpha

pytest (>=2.0)

pytest-subinterpreter

在子解释器中运行 pytest

2023年11月25日

不适用

pytest>=7.0.0

pytest-subprocess

pytest 的子进程模拟插件

2025年1月4日

5 - 生产/稳定

pytest>=4.0.0

pytest-subtesthack

一种明确设置和拆卸 fixture 的技巧。

2022年7月16日

不适用

不适用

pytest-subtests

unittest subTest() 支持和 subtests fixture

2024年12月10日

4 - Beta

pytest>=7.4

pytest-subunit

pytest-subunit 是一个 py.test 插件,它以 subunit 格式输出测试结果。

2023年9月17日

不适用

pytest (>=2.3)

pytest-sugar

pytest-sugar 是一个 pytest 插件,它改变了 pytest 的默认外观和感觉(例如进度条,即时显示失败的测试)。

2024年2月1日

4 - Beta

pytest >=6.2.0

pytest-suitemanager

一个简单的 pytest 插件

2023年4月28日

4 - Beta

不适用

pytest-suite-timeout

一个用于确保最大套件时间的 pytest 插件

2024年1月26日

不适用

pytest>=7.0.0

pytest-supercov

用于测量显式测试文件到源文件覆盖率的 Pytest 插件

2023年7月2日

不适用

不适用

pytest-svn

py.test 的 SVN 仓库 fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-symbols

pytest-symbols 是一个 pytest 插件,增加了对将测试环境符号传递给 pytest 测试的支持。

2017年11月20日

3 - Alpha

不适用

pytest-system-statistics

Pytest 插件,用于跟踪和报告系统使用统计信息

2022年2月16日

5 - 生产/稳定

pytest (>=6.0.0)

pytest-system-test-plugin

Pyst - Pytest 系统测试插件

2022年2月3日

不适用

不适用

pytest_tagging

一个用于标记测试的 pytest 插件

2024年11月8日

不适用

pytest>=7.1.3

pytest-takeltest

用于 Ansible, Testinfra 和 Molecule 的 Fixture

2024年9月7日

不适用

不适用

pytest-talisker

2021年11月28日

不适用

不适用

pytest-tally

一个 Pytest 插件,用于生成实时摘要统计信息,并使用基于文本的仪表板在控制台中显示。

2023年5月22日

4 - Beta

pytest (>=6.2.5)

pytest-tap

pytest 的测试一切协议(TAP)报告插件

2025年1月30日

5 - 生产/稳定

pytest>=3.0

pytest-tape

通过保存到 yaml 文件中的预期结果轻松断言

2021年3月17日

4 - Beta

不适用

pytest-target

用于远程目标编排的 Pytest 插件。

2021年1月21日

3 - Alpha

pytest (>=6.1.2,<7.0.0)

pytest-taskgraph

在此处添加你的描述

2025年4月9日

不适用

pytest

pytest-tblineinfo

tblineinfo 是一个 py.test 插件,当使用 –tb=line 选项时,它会在最终的 py.test 报告中插入节点 ID

2015年12月1日

3 - Alpha

pytest (>=2.0)

pytest-tcpclient

一个用于测试 TCP 客户端的 pytest 插件

2022年11月16日

不适用

pytest (<8,>=7.1.3)

pytest-tdd

在 python 模块上运行 pytest

2023年8月18日

4 - Beta

不适用

pytest-teamcity-logblock

py.test 插件,用于在 TeamCity 构建日志中引入块结构,如果输出未捕获

2018年5月15日

4 - Beta

不适用

pytest-teardown

2025年4月15日

不适用

pytest<9.0.0,>=7.4.1

pytest-telegram

Pytest 到 Telegram 报告插件

2024年4月25日

5 - 生产/稳定

不适用

pytest-telegram-notifier

Pytest 的 Telegram 通知插件

2023年6月27日

5 - 生产/稳定

不适用

pytest-tempdir

可预测且可重复的临时目录支持。

2019年10月11日

4 - Beta

pytest (>=2.8.1)

pytest-terra-fixt

用于 pytest 的 Terraform 和 Terragrunt fixture

2022年9月15日

不适用

pytest (==6.2.5)

pytest-terraform

一个用于使用 terraform fixture 的 pytest 插件

2024年5月21日

不适用

pytest>=6.0

pytest-terraform-fixture

生成与 pytest 一起使用的 terraform 资源

2018年11月14日

4 - Beta

不适用

pytest-testbook

一个运行 Jupyter notebook 中测试的插件

2016年12月11日

3 - Alpha

不适用

pytest-testconfig

pytest 的测试配置插件。

2020年1月11日

4 - Beta

pytest (>=3.5.0)

pytest-testdata

在 pytest 项目中获取和加载测试数据

2024年8月30日

不适用

pytest

pytest-testdirectory

一个 py.test 插件,在单元测试中提供临时目录。

2023年5月2日

5 - 生产/稳定

pytest

pytest-testdox

一个用于 pytest 的 testdox 格式报告器

2023年7月22日

5 - 生产/稳定

pytest (>=4.6.0)

pytest-test-grouping

一个 Pytest 插件,通过将测试分成大小相等的组来运行您的测试子集。

2023年2月1日

5 - 生产/稳定

pytest (>=2.5)

pytest-test-groups

一个 Pytest 插件,通过将测试分成大小相等的组来运行您的测试子集。

2025年5月8日

5 - 生产/稳定

pytest>=7.0.0

pytest-testinfra

测试基础设施

2025年3月30日

5 - 生产/稳定

pytest>=6

pytest-testinfra-jpic

测试基础设施

2023年9月21日

5 - 生产/稳定

不适用

pytest-testinfra-winrm-transport

测试基础设施

2023年9月21日

5 - 生产/稳定

不适用

pytest-testit-parametrize

一个 pytest 插件,用于将参数化测试参数上传到 TMS TestIT

2024年12月4日

4 - Beta

pytest>=8.3.3

pytest-testlink-adaptor

testlink 的 pytest 报告插件

2018年12月20日

4 - Beta

pytest (>=2.6)

pytest-testmon

选择受更改文件和方法影响的测试

2024年12月22日

4 - Beta

pytest<9,>=5

pytest-testmon-dev

选择受更改文件和方法影响的测试

2023年3月30日

4 - Beta

pytest (<8,>=5)

pytest-testmon-oc

仅选择受更改文件和方法影响的测试

2022年6月1日

4 - Beta

pytest (<8,>=5)

pytest-testmon-skip-libraries

选择受更改文件和方法影响的测试

2023年3月3日

4 - Beta

pytest (<8,>=5)

pytest-testobject

使用 Pytest 使用 TestObject 套件的插件

2019年9月24日

4 - Beta

pytest (>=3.1.1)

pytest-testpluggy

设置您的编码

2022年1月7日

不适用

pytest

pytest-testrail

pytest 插件,用于创建 TestRail 运行并添加结果

2020年8月27日

不适用

pytest (>=3.6)

pytest-testrail2

一个 pytest 插件,用于将结果上传到 TestRail。

2023年2月10日

不适用

pytest (<8.0,>=7.2.0)

pytest-testrail-api

TestRail Api Python 客户端

2025年3月17日

不适用

pytest

pytest-testrail-api-client

TestRail Api Python 客户端

2021年12月14日

不适用

pytest

pytest-testrail-appetize

pytest 插件,用于创建 TestRail 运行并添加结果

2021年9月29日

不适用

不适用

pytest-testrail-client

Testrail 的 pytest 插件

2020年9月29日

5 - 生产/稳定

不适用

pytest-testrail-e2e

pytest 插件,用于创建 TestRail 运行并添加结果

2021年10月11日

不适用

pytest (>=3.6)

pytest-testrail-integrator

用于将报告发送到 TestRail 系统的 Pytest 插件。

2022年8月1日

不适用

pytest (>=6.2.5)

pytest-testrail-ns

pytest 插件,用于创建 TestRail 运行并添加结果

2022年8月12日

不适用

不适用

pytest-testrail-plugin

TestRail 的 PyTest 插件

2020年4月21日

3 - Alpha

pytest

pytest-testrail-reporter

2018年9月10日

不适用

不适用

pytest-testrail-results

一个 pytest 插件,用于将结果上传到 TestRail。

2024年3月4日

不适用

pytest >=7.2.0

pytest-testreport

2022年12月1日

4 - Beta

pytest (>=3.5.0)

pytest-testreport-new

2023年10月7日

4 - Beta

pytest >=3.5.0

pytest-testslide

pytest 的 TestSlide fixture

2021年1月7日

5 - 生产/稳定

pytest (约等于6.2)

pytest-test-this

py.test 插件,用于运行相关测试,基于朴素地检查测试是否包含对您提供的符号的引用

2019年9月15日

2 - 预 Alpha

pytest (>=2.3)

pytest-test-tracer-for-pytest

一个允许收集测试数据以供 Test Tracer 使用的插件

2024年6月28日

4 - Beta

pytest>=6.2.0

pytest-test-tracer-for-pytest-bdd

一个允许收集测试数据以供 Test Tracer 使用的插件

2024年8月20日

4 - Beta

pytest>=6.2.0

pytest-test-utils

2024年2月8日

不适用

pytest >=3.9

pytest-tesults

pytest 的 Tesults 插件

2024年11月12日

5 - 生产/稳定

pytest>=3.5.0

pytest-textual-snapshot

Textual 应用程序的快照测试

2025年1月23日

5 - 生产/稳定

pytest>=8.0.0

pytest-tezos

pytest-ligo

2020年1月16日

4 - Beta

不适用

pytest-tf

使用 PyTest 插件测试您的 OpenTofu 和 Terraform 配置

2024年5月29日

不适用

pytest<9.0.0,>=8.2.1

pytest-th2-bdd

pytest_th2_bdd

2022年5月13日

不适用

不适用

pytest-thawgun

用于时间旅行的 Pytest 插件

2020年5月26日

3 - Alpha

不适用

pytest-thread

2023年7月7日

不适用

不适用

pytest-threadleak

检测线程泄漏

2022年7月3日

4 - Beta

pytest (>=3.1.1)

pytest-tick

测试计时

2021年8月31日

5 - 生产/稳定

pytest (>=6.2.5,<7.0.0)

pytest-time

2025年1月20日

3 - Alpha

pytest

pytest-timeassert-ethan

执行持续时间

2023年12月25日

不适用

pytest

pytest-timeit

一个用于计时测试函数运行的 pytest 插件

2016年10月13日

4 - Beta

不适用

pytest-timeout

中断挂起测试的 pytest 插件

2025年5月5日

5 - 生产/稳定

pytest>=7.0.0

pytest-timeouts

Linux 专属的 Pytest 插件,用于控制各种测试用例执行阶段的持续时间

2019年9月21日

5 - 生产/稳定

不适用

pytest-timer

pytest 的计时器插件

2023年12月26日

不适用

pytest

pytest-timestamper

Pytest 插件,用于为 pytest 输出添加时间戳前缀

2024年3月27日

不适用

不适用

pytest-timestamps

一个用于查看每个测试时间戳的简单插件

2023年9月11日

不适用

pytest (>=7.3,<8.0)

pytest-tiny-api-client

tiny-api-client 的配套 pytest 插件

2024年1月4日

5 - 生产/稳定

pytest

pytest-tinybird

一个将测试结果报告给 tinybird 的 pytest 插件

2025年5月7日

4 - Beta

pytest>3.8.0

pytest-tipsi-django

更好的 Django fixture

2024年2月5日

5 - 生产/稳定

pytest>=6.0.0

pytest-tipsi-testing

更好的 fixture 管理。各种助手

2024年2月4日

5 - 生产/稳定

pytest>3.3.0

pytest-tldr

一个 pytest 插件,将输出限制为您所需的内容。

2022年10月26日

4 - Beta

pytest (>=3.5.0)

pytest-tm4j-reporter

Cloud Jira Test Management (TM4J) PyTest 报告器插件

2020年9月1日

不适用

pytest

pytest-tmnet

一个小型示例包

2022年3月1日

不适用

不适用

pytest-tmp-files

在 pytest 中创建临时文件层次结构的实用程序。

2023年12月8日

不适用

pytest

pytest-tmpfs

一个帮助您使用临时文件系统进行测试的 pytest 插件。

2022年8月29日

不适用

pytest

pytest-tmreport

这是一个 pytest 的 vue-element ui 报告

2022年8月12日

不适用

不适用

pytest-tmux

一个启用 tmux 驱动测试的 pytest 插件

2023年4月22日

4 - Beta

不适用

pytest-todo

pytest 测试框架的一个小插件,将 TODO 注释标记为失败

2019年5月23日

4 - Beta

pytest

pytest-tomato

2019年3月1日

5 - 生产/稳定

不适用

pytest-toolbelt

这只是 pytest 的一个实用工具集合,但并不真正属于 pytest 本身。

2019年8月12日

3 - Alpha

不适用

pytest-toolbox

pytest 的众多有用插件。

2018年4月7日

不适用

pytest (>=3.5.0)

pytest-toolkit

有用的测试工具

2024年6月7日

不适用

不适用

pytest-tools

Pytest 工具

2022年10月21日

4 - Beta

不适用

pytest-topo

pytest 的拓扑排序

2024年6月5日

不适用

pytest>=7.0.0

pytest-tornado

一个 py.test 插件,提供 fixture 和标记,简化异步 tornado 应用程序的测试。

2020年6月17日

5 - 生产/稳定

pytest (>=3.6)

pytest-tornado5

一个 py.test 插件,提供 fixture 和标记,简化异步 tornado 应用程序的测试。

2018年11月16日

5 - 生产/稳定

pytest (>=3.6)

pytest-tornado-yen3

一个 py.test 插件,提供 fixture 和标记,简化异步 tornado 应用程序的测试。

2018年10月15日

5 - 生产/稳定

不适用

pytest-tornasync

py.test 插件,用于测试 Python 3.5+ Tornado 代码

2019年7月15日

3 - Alpha

pytest (>=3.0)

pytest-trace

保存测试期间生成的 OpenTelemetry span

2022年6月19日

不适用

pytest (>=4.6)

pytest-track

2021年2月26日

3 - Alpha

pytest (>=3.0)

pytest-translations

测试您的翻译文件。

2023年9月11日

5 - 生产/稳定

pytest (>=7)

pytest-travis-fold

折叠 Travis CI 构建日志中捕获的输出部分

2017年11月29日

4 - Beta

pytest (>=2.6.0)

pytest-trello

py.test 的插件,使用标记集成 Trello

2015年11月20日

5 - 生产/稳定

不适用

pytest-trepan

用于 trepan 调试器的 Pytest 插件。

2018年7月28日

5 - 生产/稳定

不适用

pytest-trialtemp

py.test 插件,用于使用与 trial 相同的 _trial_temp 工作目录

2015年6月8日

不适用

不适用

pytest-trio

Trio 的 Pytest 插件

2022年11月1日

不适用

pytest (>=7.2.0)

pytest-trytond

Tryton 服务器框架的 Pytest 插件

2022年11月4日

4 - Beta

pytest (>=5)

pytest-tspwplib

一个与 tspwplib 一起使用的简单插件

2021年1月8日

4 - Beta

pytest (>=3.5.0)

pytest-tst

自定义 pytest 选项、输出和退出代码,使其与 tst 兼容

2022年4月27日

不适用

pytest (>=5.0.0)

pytest-tstcls

测试类基础

2020年3月23日

5 - 生产/稳定

不适用

pytest-tui

Pytest 测试运行的文本用户界面(TUI)和 HTML 报告

2023年12月8日

4 - Beta

不适用

pytest-tuitest

用于测试 TUI 和常规命令行应用程序的 pytest 插件。

2025年4月11日

不适用

pytest>=7.4.0

pytest-tutorials

2023年3月11日

不适用

不适用

pytest-twilio-conversations-client-mock

2022年8月2日

不适用

不适用

pytest-twisted

pytest 的 twisted 插件。

2024年9月10日

5 - 生产/稳定

pytest>=2.3

pytest-typechecker

在指定测试文件上运行类型检查器

2022年2月4日

不适用

pytest (>=6.2.5,<7.0.0)

pytest-typed-schema-shot

Pytest 插件,用于从示例自动生成和验证 JSON Schema

2025年5月24日

不适用

pytest

pytest-typhoon-config

一个 Typhoon HIL 插件,用于在运行时简化测试参数配置

2022年4月7日

5 - 生产/稳定

不适用

pytest-typhoon-polarion

Siemens Polarion 的 Typhoontest 插件

2024年2月1日

4 - Beta

不适用

pytest-typhoon-xray

pytest 的 Typhoon HIL 插件

2023年8月15日

4 - Beta

不适用

pytest-typing-runner

Pytest 插件,用于简化 Python 代码与静态类型检查器的运行和检查

2025年5月31日

不适用

不适用

pytest-tytest

pytest 的 Typhoon HIL 插件

2020年5月25日

4 - Beta

pytest (>=5.4.2)

pytest-ubersmith

在 `requests` 级别轻松模拟对 ubersmith 的调用。

2015年4月13日

不适用

不适用

pytest-ui

用于运行 Python 测试的文本用户界面

2021年7月5日

4 - Beta

pytest

pytest-ui-failed-screenshot

UI 自动测试失败时自动截图,并将截图加入到测试报告中

2022年12月6日

不适用

不适用

pytest-ui-failed-screenshot-allure

UI 自动测试失败时自动截图,并将截图加入到 Allure 测试报告中

2022年12月6日

不适用

不适用

pytest-uncollect-if

一个插件,用于取消收集 pytest 测试,而不是使用 skipif

2024年12月26日

4 - Beta

pytest>=6.2.0

pytest-unflakable

PyTest 的 Unflakable 插件

2024年4月30日

4 - Beta

pytest>=6.2.0

pytest-unhandled-exception-exit-code

py.test 插件,用于在未捕获异常时设置不同的退出代码

2020年6月22日

5 - 生产/稳定

pytest (>=2.3)

pytest-unique

Pytest fixture,用于生成唯一值。

2025年3月23日

不适用

pytest<8.0.0,>=7.4.2

pytest-unittest-filter

一个用于过滤基于 unittest 的测试类的 pytest 插件

2019年1月12日

4 - Beta

pytest (>=3.1.0)

pytest-unittest-id-runner

一个 pytest 插件,用于使用 unittest 风格的测试 ID 运行测试

2025年2月9日

不适用

pytest>=6.0.0

pytest-unmagic

具有传统导入语义的 Pytest fixture

2024年10月22日

5 - 生产/稳定

pytest

pytest-unmarked

只运行未标记的测试

2019年8月27日

5 - 生产/稳定

不适用

pytest-unordered

在 pytest 中测试无序集合的相等性

2024年7月5日

4 - Beta

pytest>=7.0.0

pytest-unstable

将测试设置为不稳定,即使失败也返回 0

2022年9月27日

4 - Beta

不适用

pytest-unused-fixtures

一个 pytest 插件,用于在测试运行后列出未使用的 fixture。

2025年3月15日

4 - Beta

pytest>7.3.2

pytest-upload-report

pytest-upload-report 是一个 pytest 插件,用于上传您的测试报告以获取测试结果。

2021年6月18日

5 - 生产/稳定

不适用

pytest-utils

pytest 的一些助手。

2023年2月2日

4 - Beta

pytest (>=7.0.0,<8.0.0)

pytest-vagrant

一个 py.test 插件,提供对 vagrant 的访问。

2021年9月7日

5 - 生产/稳定

pytest

pytest-valgrind

2021年5月19日

不适用

不适用

pytest-variables

用于向测试/fixture 提供变量的 pytest 插件

2024年2月1日

5 - 生产/稳定

pytest>=7.0.0

pytest-variant

Pytest 的变体支持

2022年6月6日

不适用

不适用

pytest-vcr

用于管理 VCR.py 磁带的插件

2019年4月26日

5 - 生产/稳定

pytest (>=3.6.0)

pytest-vcr-delete-on-fail

一个 pytest 插件,在测试失败时自动删除 vcrpy 磁带。

2024年2月16日

5 - 生产/稳定

pytest (>=8.0.0,<9.0.0)

pytest-vcrpandas

从 HTTP 交互到数据帧处理的测试。

2019年1月12日

4 - Beta

pytest

pytest-vcs

2022年9月22日

4 - Beta

不适用

pytest-venv

py.test fixture,用于创建虚拟环境

2023年11月23日

4 - Beta

pytest

pytest-verbose-parametrize

参数化 py.test 测试的更具描述性的输出

2024年11月29日

5 - 生产/稳定

pytest

pytest-vimqf

一个简单的 pytest 插件,在指定时会缩小 pytest 输出以适应 vim quickfix 窗口。

2021年2月8日

4 - Beta

pytest (>=6.2.2,<7.0.0)

pytest-virtualenv

py.test 的 Virtualenv fixture

2024年11月29日

5 - 生产/稳定

pytest

pytest-visual

2024年11月28日

4 - Beta

pytest>=7.0.0

pytest-vnc

Pytest 的 VNC 客户端

2023年11月6日

不适用

pytest

pytest-voluptuous

用于根据 voluptuous 模式断言数据的 Pytest 插件。

2020年6月9日

不适用

pytest

pytest-vscodedebug

一个 pytest 插件,可轻松在 Visual Studio Code 中启用调试测试

2020年12月4日

4 - Beta

不适用

pytest-vscode-pycharm-cls

一个 PyTest 助手,用于在测试开始、失败或使用 pytest.set_trace 时启用远程调试器。

2023年2月1日

不适用

pytest

pytest-vtestify

一个使用 SSIM 和图像比较进行视觉断言的 pytest 插件。

2025年2月4日

不适用

pytest

pytest-vts

用于自动记录 HTTP 存根测试的 pytest 插件

2019年6月5日

不适用

pytest (>=2.3)

pytest-vulture

一个 pytest 插件,用于使用 vulture 检查死代码

2024年11月25日

不适用

pytest>=7.0.0

pytest-vw

pytest-vw 让您的失败测试用例在 CI 工具审查下成功

2015年10月7日

4 - Beta

不适用

pytest-vyper

Vyper 智能合约语言的插件。

2020年5月28日

2 - 预 Alpha

不适用

pytest-wa-e2e-plugin

用于使用端到端测试测试 WhatsApp 机器人的 Pytest 插件

2020年2月18日

4 - Beta

pytest (>=3.5.0)

pytest-wake

2024年11月19日

不适用

pytest

pytest-watch

使用 pytest 和 watchdog 的本地持续测试运行器。

2018年5月20日

不适用

不适用

pytest-watcher

自动在文件修改时重新运行您的测试

2024年8月28日

4 - Beta

不适用

pytest-watch-plugin

内部包的占位符

2024年9月12日

不适用

不适用

pytest_wdb

使用 wdb 跟踪 pytest 测试,并通过 –wdb 在错误时停止。

2016年7月4日

不适用

不适用

pytest-wdl

用于测试 WDL 工作流的 Pytest 插件。

2020年11月17日

5 - 生产/稳定

不适用

pytest-web3-data

一个 pytest 插件,用于在 pytest 执行期间从 IPFS HTTP 网关获取测试数据。

2023年10月4日

4 - Beta

pytest

pytest-webdriver

py.test 的 Selenium webdriver fixture

2024年10月17日

5 - 生产/稳定

pytest

pytest-webstage

使用 pytest 测试 Web 应用程序

2024年9月20日

不适用

pytest<9.0,>=7.0

pytest-webtest-extras

Pytest 插件,通过添加截图、评论和网页源代码来增强 webtest 项目的 pytest-html 和 allure 报告。

2024年12月28日

不适用

pytest>=7.0.0

pytest-wetest

Welian API 自动化测试框架 pytest 插件

2018年11月10日

4 - Beta

不适用

pytest-when

使 mocking 更具可读性和可控性的实用工具

2024年11月29日

不适用

pytest>=7.3.1

pytest-whirlwind

测试 Tornado。

2020年6月12日

不适用

不适用

pytest-wholenodeid

pytest 附加组件,用于显示失败的完整节点 ID

2015年8月26日

4 - Beta

pytest (>=2.0)

pytest-win32consoletitle

控制台标题中的 Pytest 进度(仅限 Win32)

2021年8月8日

不适用

不适用

pytest-winnotify

Windows 托盘通知,用于 py.test 结果。

2016年4月22日

不适用

不适用

pytest-wiremock

一个用于在集成测试中以编程方式使用 wiremock 的 pytest 插件

2022年3月27日

不适用

pytest (>=7.1.1,<8.0.0)

pytest-wiretap

`pytest` 用于记录调用堆栈的插件

2025年3月18日

不适用

pytest

pytest-with-docker

pytest 与 Docker 助手。

2021年11月9日

不适用

pytest

pytest-workaround-12888

在进程早期强制导入 readline 以解决 pytest bug #12888

2025年1月15日

不适用

不适用

pytest-workflow

一个 pytest 插件,用于使用 YAML 文件配置工作流/管道测试

2024年3月18日

5 - 生产/稳定

pytest >=7.0.0

pytest-xdist

pytest xdist 插件,用于分布式测试,最重要的是跨多个 CPU

2025年5月26日

5 - 生产/稳定

pytest>=7.0.0

pytest-xdist-debug-for-graingert

pytest xdist 插件,用于分布式测试和失败循环模式

2019年7月24日

5 - 生产/稳定

pytest (>=4.4.0)

pytest-xdist-forked

从 pytest-xdist 分叉

2020年2月10日

5 - 生产/稳定

pytest (>=4.4.0)

pytest-xdist-lock

pytest-xdist 的扩展,为本地和分布式运行添加测试和资源组锁

2025年4月26日

不适用

pytest>=6.0

pytest-xdist-tracker

pytest 插件有助于重现特定 xdist 节点上的失败

2021年11月18日

3 - Alpha

pytest (>=3.5.1)

pytest-xdist-worker-stats

一个 pytest 插件,用于在 xdist 运行后列出工作器统计信息。

2025年3月15日

4 - Beta

pytest>=7.0.0

pytest-xdocker

Pytest fixture,用于跨测试运行 Docker。

2025年3月23日

不适用

pytest<8.0.0,>=7.4.2

pytest-xfaillist

在附加文件中维护 xfaillist 以避免合并冲突。

2021年9月17日

不适用

pytest (>=6.2.2,<7.0.0)

pytest-xfiles

Pytest fixture,提供从函数、模块或包相关 (x) 文件中读取的数据。

2018年2月27日

不适用

不适用

pytest-xflaky

一个简单的 pytest 插件

2024年10月14日

4 - Beta

pytest>=8.2.1

pytest-xiuyu

这是一个 pytest 插件

2023年7月25日

5 - 生产/稳定

不适用

pytest-xlog

测试和装饰器的扩展日志记录

2020年5月31日

4 - Beta

不适用

pytest-xlsx

用于通过 xlsx(excel) 生成测试用例的 pytest 插件

2024年8月7日

不适用

pytest约等于8.2.2

pytest-xml

创建简单的 XML 结果以供解析

2024年11月14日

4 - Beta

pytest>=8.0.0

pytest-xpara

pytest 的一个扩展参数化插件。

2024年8月7日

3 - Alpha

pytest

pytest-xprocess

一个用于管理跨测试运行的进程的 pytest 插件。

2024年5月19日

4 - Beta

pytest>=2.8

pytest-xray

2019年5月30日

3 - Alpha

不适用

pytest-xrayjira

2020年3月17日

3 - Alpha

pytest (==4.3.1)

pytest-xray-reporter

用于生成 Xray JSON 报告的 Pytest 插件

2025年5月21日

4 - Beta

pytest>=7.0.0

pytest-xray-server

2022年5月3日

3 - Alpha

pytest (>=5.3.1)

pytest-xstress

2024年6月1日

不适用

pytest<9.0.0,>=8.0.0

pytest-xvfb

一个 pytest 插件,用于为测试运行 Xvfb(或 Xephyr/Xvnc)。

2025年3月12日

4 - Beta

pytest>=2.8.1

pytest-xvirt

一个 pytest 插件,用于虚拟化测试。例如,透明地在远程机器上运行它们。

2024年12月15日

4 - Beta

pytest>=7.2.2

pytest-yaml

此插件用于将 yaml 输出加载到您的测试中,使用 pytest 框架。

2018年10月5日

不适用

pytest

pytest-yaml-fei

一个 pytest yaml allure 包

2025年2月9日

不适用

pytest

pytest-yaml-sanmu

一个用于使用 YAML 生成测试用例的 Pytest 插件。在测试用例中,您可以使用标记、fixture、变量,甚至调用 Python 函数。

2025年1月3日

不适用

pytest>=8.2.2

pytest-yamltree

创建或检查 YAML 描述的文件/目录树

2020年3月2日

4 - Beta

pytest (>=3.1.1)

pytest-yamlwsgi

对 YAML 中定义的 WSGI 应用程序运行测试

2010年5月11日

不适用

不适用

pytest-yaml-yoyo

通过 yaml 运行 http/https API

2023年6月19日

不适用

pytest (>=7.2.0)

pytest-yapf

运行 yapf

2017年7月6日

4 - Beta

pytest (>=3.1.1)

pytest-yapf3

使用 yapf 验证您的 Python 文件格式

2023年3月29日

5 - 生产/稳定

pytest (>=7)

pytest-yield

PyTest 插件,用于并发运行测试,每个 `yield` 将上下文切换到另一个

2019年1月23日

不适用

不适用

pytest-yls

Pytest 插件,用于整体测试 YLS。

2025年4月9日

不适用

pytest<9.0.0,>=8.3.3

pytest-youqu-playwright

pytest-youqu-playwright

2024年6月12日

不适用

pytest

pytest-yuk

显示您感到不安的测试,使用 🤢/🤮 表示标记为 yuk 的测试的通过/失败。

2021年3月26日

不适用

pytest>=5.0.0

pytest-zafira

Zafira 的 pytest 插件

2019年9月18日

5 - 生产/稳定

pytest (==4.1.1)

pytest-zap

py.test 的 OWASP ZAP 插件。

2014年5月12日

4 - Beta

不适用

pytest-zcc

eee

2024年6月2日

不适用

不适用

pytest-zebrunner

Zebrunner 报告的 Pytest 连接器

2024年7月4日

5 - 生产/稳定

pytest>=4.5.0

pytest-zeebe

Pytest fixture,用于使用 Zeebe 测试引擎测试 Camunda 8 进程。

2024年2月1日

不适用

pytest (>=7.4.2,<8.0.0)

pytest-zephyr-scale-integration

一个用于将 Jira Zephyr Scale (AdaptavistTM4J) 与 pytest 集成的库

2025年5月15日

不适用

pytest

pytest-zephyr-telegram

用于将自动化测试数据发送到 Telegram 和 Zephyr 的插件

2024年9月30日

不适用

pytest==8.3.2

pytest-zest

pytest 的 Zesty 附加功能。

2022年11月17日

不适用

不适用

pytest-zhongwen-wendang

PyTest 中文文档

2024年3月4日

4 - Beta

不适用

pytest-zigzag

扩展 py.test 以进行 RPC OpenStack 测试。

2019年2月27日

4 - Beta

pytest (约等于3.6)

pytest-zulip

Zulip 的 Pytest 报告插件

2022年5月7日

5 - 生产/稳定

pytest

pytest-zy

接口自动化测试框架

2024年3月24日

不适用

pytest约等于7.2.0

tursu

🎬 一个 pytest 插件,使用 AST 将 Gherkin 特性文件转换为 Python,强制类型以方便使用和调试。

2025年5月5日

4 - Beta

pytest>=8.3.5