pytest-best-practices
CommunityMaintainable pytest tests, built to last.
Authorcfircoo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide pytest best practices and patterns for writing maintainable, efficient tests.
Core Features & Use Cases
- Test independence with fixtures
- Naming conventions for files, functions, and classes
- Structured directory layout (tests/, unit/, integration/, fixtures/)
- Core testing rules: plain asserts, one assertion per test, edge-case coverage
Quick Start
- Create tests/ with unit/, integration/, and fixtures/
- Use plain assert statements, and fixtures for setup
- Parametrize tests where appropriate
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pytest-best-practices Download link: https://github.com/cfircoo/claude-code-toolkit/archive/main.zip#pytest-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.