Pytest Patterns
Pytest fixtures, parametrization, and mocking patterns for reliable, maintainable Python test suites.
- CCM score
- 43 of 100
- skills.sh installs
- 884
- GitHub stars
- 64
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers fixture scopes, dependency graphs, autouse and factory fixtures, and parametrization including indirect and ID-tagged cases
- Includes worked examples for
unittestversus pytest syntax, test discovery rules, and combining marks with parametrized inputs - Provides guidance on monkeypatching and mocking external services, with the source excerpt ending before the mocking section
- Designed for developers writing unit, integration, or async tests and organizing large suites in CI pipelines
Install
$ npx -y skills add manutej/luxor-claude-marketplace --skill pytest-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Pytest Patterns - Comprehensive Testing Guide
A comprehensive skill for mastering Python testing with pytest. This skill covers everything from basic test structure to advanced patterns including fixtures, parametrization, mocking, test organization, coverage analysis, and CI/CD integration.
When to Use This Skill
Use this skill when:
- Writing tests for Python applications (web apps, APIs, CLI tools, libraries)
- Setting up test infrastructure for a new Python project
- Refactoring existing tests to be more maintainable and efficient
- Implementing test-driven development (TDD) workflows
- Creating fixture patterns for database, API, or external service testing
- Organizing large test suites with hundreds or thousands of tests
- Debugging failing tests or improving test reliability
- Setting up continuous integration testing pipelines
- Measuring and improving code coverage
- Writing integration, unit, or end-to-end tests
- Testing async Python code
- Mocking external dependencies and services
Core Concepts
What is pytest?
Details
- Repository
- github.com/manutej/luxor-claude-marketplace
- Categories
- Testing & QA, Python
- First seen
- Jun 3, 2026
More from manutej/luxor-claude-marketplace
All 66- Ui Design Patterns856
- Ux Principles842
- Frontend Architecture735
- Axum Web Framework671
- Alembic647
- Oauth2 Authentication604
- Aws Cloud Architecture602
- Fastapi Microservices Development592
- Wireframing571
- Expressjs Development569
- Mobile Design563
- Figma Design545
- Ci Cd Pipeline Patterns541
- Spring Boot Development539
- Enterprise Architecture Patterns533
- Rest Api Design Patterns528
- Responsive Design517
- Vuejs Development513
- Grpc Microservices511
- Hasura Graphql Engine508
- Rust Systems Programming494
- Asyncio Concurrency Patterns492
- Redis State Management491
- Apache Spark Data Processing484
Similar to Pytest Patterns
More Testing & QApytestSkillgentleman-programming/gentleman-skills301 installsPytest testing patterns for Python covering fixtures, mocking, parametrization, and markers in one reference.
python-testing-patternsSkillwshobson/agents42.2K installsComprehensive pytest guide covering fixtures, mocking, parameterization, and test-driven development workflows for Python.
python-testingSkillmindrally/skills1.2K installsPytest-focused testing guidance covering unit, integration, property-based, and mocking practices for Python.
pytest-code-reviewSkillexistential-birds/beagle241 installsA pytest code review skill that checks async tests, fixtures, parametrize, and mocking in test files.
jutsu-pytestPluginTheBushidoCollective/han201 starsComprehensive Pytest testing framework skills for Python projects with fixtures, plugins, and advanced testing patterns.
testing-patternsSkillvudovn/ag-kit218 installsReference guide of testing principles covering the test pyramid, AAA structure, and mocking strategies for reliable suites.