·pytest-configuration
</>

pytest-configuration

提供完整的 pytest 配置:pyproject.toml 设置、自定义标记注册、测试发现模式、插件配置、特定于环境的设置。包括 conftest.py 层次结构、fixture 范围和覆盖配置。 使用场合:在项目中设置 pytest、配置测试发现、创建共享装置、设置覆盖率报告、管理测试环境、组织 conftest.py 文件。

5安装·0热度·@dawiddutoit

安装

$npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-configuration

如何安装 pytest-configuration

通过命令行快速安装 pytest-configuration AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-configuration
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:dawiddutoit/custom-claude。

SKILL.md

查看原文

Proper pytest configuration ensures fast test discovery, correct isolation, and consistent behavior across environments. This skill provides production-ready configuration patterns.

Use when setting up pytest in a project with "configure pytest", "setup test discovery", "create conftest", or "configure coverage".

Do NOT use for writing tests themselves (use layer-specific testing skills), debugging failures (use test-debug-failures), or mocking strategies (use pytest-mocking-strategy).

提供完整的 pytest 配置:pyproject.toml 设置、自定义标记注册、测试发现模式、插件配置、特定于环境的设置。包括 conftest.py 层次结构、fixture 范围和覆盖配置。 使用场合:在项目中设置 pytest、配置测试发现、创建共享装置、设置覆盖率报告、管理测试环境、组织 conftest.py 文件。 来源:dawiddutoit/custom-claude。

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-configuration
分类
</>开发工具
认证
收录时间
2026-02-25
更新时间
2026-03-10

Browse more skills from dawiddutoit/custom-claude

快速解答

什么是 pytest-configuration?

提供完整的 pytest 配置:pyproject.toml 设置、自定义标记注册、测试发现模式、插件配置、特定于环境的设置。包括 conftest.py 层次结构、fixture 范围和覆盖配置。 使用场合:在项目中设置 pytest、配置测试发现、创建共享装置、设置覆盖率报告、管理测试环境、组织 conftest.py 文件。 来源:dawiddutoit/custom-claude。

如何安装 pytest-configuration?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dawiddutoit/custom-claude --skill pytest-configuration 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/dawiddutoit/custom-claude