Pytest

Use when explicitly creating, debugging, reviewing, or improving Python tests with pytest.

rhenter Updated

File contents

Pytest

  • Prefer focused Arrange/Act/Assert tests.
  • Use fixtures for reusable setup, not hidden behavior.
  • Mock external boundaries rather than internal implementation details.
  • Cover success paths, edge cases, and relevant failures.

rhenter/agent-skills/tree/main/skills/pytest commit cce375d2b3

Frequently asked questions

npx skillmds@latest add rhenter/pytest