Agent skill

pytest-fixture-generator-best-practices

Sub-skill of pytest-fixture-generator: Best Practices.

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/development/testing/pytest-fixture-generator/best-practices

SKILL.md

Best Practices

Best Practices

  1. Use markers consistently - All tests should have at least one marker
  2. Minimize fixture scope - Use function scope unless sharing is needed
  3. Keep fixtures focused - One purpose per fixture
  4. Document fixtures - Add docstrings explaining usage
  5. Use tmp_path - For temporary files (auto-cleaned)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results