·pytest

精通 Python 测试,包括 pytest、fixtures、parametrize、mocking 和覆盖率。当用户要求“编写测试”、“添加 pytest 固定装置”、“模拟函数”、“参数化测试”、“运行覆盖率”、“调试失败测试”、“设置 conftest”或任何 Python 测试任务时使用。

6安装·1热度·@1mangesh1

安装

$npx skills add https://github.com/1mangesh1/dev-skills-collection --skill pytest

如何安装 pytest

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

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

来源:1mangesh1/dev-skills-collection。

SKILL.md

查看原文

For advanced patterns, plugins, and async testing: references/patterns.md

精通 Python 测试,包括 pytest、fixtures、parametrize、mocking 和覆盖率。当用户要求“编写测试”、“添加 pytest 固定装置”、“模拟函数”、“参数化测试”、“运行覆盖率”、“调试失败测试”、“设置 conftest”或任何 Python 测试任务时使用。 来源:1mangesh1/dev-skills-collection。

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

安全认证,代码可靠安全 一键安装,配置简单 兼容 Claude Code、Cursor、OpenClaw 等工具

可引用信息

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

安装命令
npx skills add https://github.com/1mangesh1/dev-skills-collection --skill pytest
分类
</>开发工具
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from 1mangesh1/dev-skills-collection

快速解答

什么是 pytest?

精通 Python 测试,包括 pytest、fixtures、parametrize、mocking 和覆盖率。当用户要求“编写测试”、“添加 pytest 固定装置”、“模拟函数”、“参数化测试”、“运行覆盖率”、“调试失败测试”、“设置 conftest”或任何 Python 测试任务时使用。 来源:1mangesh1/dev-skills-collection。

如何安装 pytest?

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

这个 Skill 的源码在哪?

https://github.com/1mangesh1/dev-skills-collection