testing

帮助编写和整理Python项目的测试。编写新代码时主动使用。关键词:test, testing, pytest, テスト

📖 中文导读:帮助编写和整理Python项目的测试。编写新代码时主动使用。关键词:test, testing, pytest, テスト 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: testing description: Help write and organize tests for Python projects. Use PROACTIVELY when new code is written. Keywords: test, testing, pytest, テスト

When to Use (PROACTIVE)

  • New function/class is created
  • User asks about testing
  • User mentions "test", "テスト", "pytest"
  • Code coverage needs improvement

What This Skill Does

Provides pytest patterns and best practices:

  • Test structure
  • Fixtures
  • Parametrization
  • Mocking
  • Coverage

Refer to pytest-guide.md for examples.