Skip to main content
Run any Skill in Manus
with one click

testing-python-pytest

Stars0
Forks0
UpdatedMarch 14, 2026 at 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.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly