pytest-patterns

Installation
SKILL.md

Python Testing Patterns

Generate focused, behavior-driven tests with pytest. Prioritize observable behavior over implementation details. For framework configuration (pyproject.toml, plugins, CI), see references/framework-config.md. For deep conftest patterns and heavy-dep mocking, see references/pytest-infrastructure.md. For authoring and TDD, use the canonical testing owner.

Canonical authoring owner

Load the testing:test-hygiene skill for placement, prevention and meaningful test protection. Delegate test authoring to testing:test-writer, supplying these Python techniques as context. Load the testing:test-remediation-method skill for existing failures before changing assertions. TDD discipline belongs to testing's declared upstream skill. This skill owns pytest mechanics, not another test philosophy or coverage quota. Independent exact expected values are valid when justified by the contract; never derive the oracle from the tested implementation or weaken it to get green.

3. Naming Convention (BDD)

Class-based grouping -- nest by feature, then scenario:

Installs
1
Repository
acaprino/daodan
GitHub Stars
9
First Seen
9 days ago