Skip to main content
在 Manus 中运行任何 Skill
一键导入

testing-python-pytest

星标0
分支0
更新时间2026年3月14日 10:18

Generates professional pytest unit test suites for Python source files, ensuring >90% line and branch coverage per file. Analyzes modules with AST inspection to discover all classes, methods, and functions, then produces well-structured tests following the AAA pattern with fixtures, parametrize, mocking, and comprehensive edge cases. Use when asked to write unit tests, create a test suite, generate pytest tests, improve coverage, or test Python modules, classes, or functions — even if the user does not explicitly mention "pytest" or "coverage". Also use when CI pipelines report low test coverage.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
5 个文件
SKILL.md
readonly