LogoClawIndex
案例技能关于
LogoClawIndex

pytest-testing-assistant - Pytest测试助手 - 编写专注的Python测试

以独立函数形式编写pytest测试,每个函数专注于一个测试

标签

更新于: 2026-02-13
测试pytest测试自动化Python

能力

典型输入

典型输出

该技能可以做什么

  • 编写pytest测试
  • 创建独立的测试函数
  • 避免测试类
  • 编写专注的测试
  • 明确命名测试
  • 使用AAA模式

输入

  • 待测试的Python代码
  • 测试要求
  • 函数规范

输出

  • pytest测试文件
  • 测试函数
  • Python测试代码

要求

  • Python环境
  • pytest框架
  • 测试依赖项

来源

  • 规范: SKILL.md

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。
编写pytest测试
创建独立的测试函数
避免测试类
编写专注的测试
待测试的Python代码
测试要求
函数规范
pytest测试文件
测试函数
Python测试代码