pytest-config
pytest-config provides templates and patterns for pytest setup, conftest.py fixtures, test markers, and coverage configuration. It includes Git testing helpers, mock fixtures for Claude Code tools, and GitHub Actions integration to automate test execution across Python projects.
pytest-config sets up standardized pytest configuration and reusable fixtures for Python project testing.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
pytest-config sets up standardized pytest configuration and reusable fixtures for Python project testing. pytest-config provides templates and patterns for pytest setup, conftest.py fixtures, test markers, and coverage configuration. It includes Git testing helpers, mock fixtures for Claude Code tools, and GitHub Actions integration to automate test execution across Python projects.
Use it when
- pytest-config offers conftest.py patterns for organizing reusable test fixtures and shared test infrastructure.
- pytest-config includes GitHub Actions integration templates and coverage threshold enforcement patterns.
Verify before relying
Read SKILL.md below before installing (6 files). Open directory: indexed for reading, not audited.
Install
athola/claude-night-market/pytest-config · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I configure pytest for Python projects?
pytest-config provides standardized templates and patterns to set up pytest across Python projects. It includes pyproject.toml configuration examples, conftest.py fixture patterns, and test discovery settings. The skill covers marker definitions, reusable fixtures for common testing scenarios, and integration points for CI/CD pipelines to enforce coverage thresholds and automate test execution.
What pytest conftest.py patterns does pytest-config include?
pytest-config offers conftest.py patterns for organizing reusable test fixtures and shared test infrastructure. It demonstrates fixture scoping, parametrization strategies, and fixture composition. The patterns include Git testing helpers, mock fixtures for Claude Code tools, and standardized approaches to test setup and teardown across plugins.
How can pytest-config help integrate pytest with CI/CD pipelines?
pytest-config includes GitHub Actions integration templates and coverage threshold enforcement patterns. It shows how to configure automated test execution, set up coverage reporting, and fail builds when quality standards aren't met. The skill provides ready-to-use workflows for continuous integration and guidance on standardizing test infrastructure across multiple projects.
What are pytest markers and fixtures in pytest-config?
pytest-config teaches pytest markers for categorizing tests (unit, integration, slow) and fixtures for managing test dependencies and state. The skill includes mock fixtures for Claude Code tools, parametrized fixtures for testing multiple scenarios, and patterns for fixture composition. Markers enable selective test execution while fixtures provide reusable setup and teardown logic.
How does pytest-config standardize test infrastructure across plugins?
pytest-config audits and standardizes existing test infrastructure by providing unified conftest.py patterns, consistent marker definitions, and shared fixture libraries. It establishes quality standards for test discovery, coverage thresholds, and fixture organization. This ensures consistent testing practices across multiple plugins and projects using the same pytest configuration templates.
What coverage configuration does pytest-config provide?
pytest-config includes pyproject.toml examples for setting coverage thresholds, branch coverage settings, and exclusion patterns. It demonstrates how to integrate coverage reporting with pytest, configure CI/CD pipelines to enforce minimum coverage percentages, and generate coverage reports. The skill helps establish quality standards by automating coverage checks in automated testing workflows.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Table of Contents
Pytest Configuration Patterns
Standardized pytest configuration and patterns for consistent testing infrastructure across Claude Night Market plugins.
When To Use
- Setting up pytest configuration and fixtures
- Configuring conftest.py patterns for test
(truncated - see the full file via the links below)
File tree — 6 files
plugins/leyline/skills/pytest-config/SKILL.md
plugins/leyline/skills/pytest-config/modules/README.md
plugins/leyline/skills/pytest-config/modules/ci-integration.md
plugins/leyline/skills/pytest-config/modules/conftest-patterns.md
plugins/leyline/skills/pytest-config/modules/git-testing-fixtures.md
plugins/leyline/skills/pytest-config/modules/mock-fixtures.md
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Set up standardized pytest configuration and fixtures for Python project testing”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Python Testing guides you through pytest fundamentals, fixture management, and test-driven development for Python 3.9+ projects. It covers unit and integration testing, async validation, mocking strategies, and coverage configuration to help you build maintainable test suites that meet quality standards.
Set testing benchmarks with tiered coverage targets (60–95%+) and quality checklists spanning structure, maintainability, and reliability. Includes anti-patterns, best practices, and assertion levels for LLM-interpreted content to guide test validation across your projects.
Set up pytest with production-ready configuration patterns covering test discovery, async support, custom markers, and coverage reporting. Includes conftest.py hierarchy examples and fixture scoping strategies for consistent test behavior across environments.
Pytest Patterns teaches structured testing for Python backends using pytest, httpx, and factory_boy. Learn to organize tests across unit and integration layers, build reusable fixtures with proper scoping, seed test data with factories, and test async FastAPI endpoints. Covers mocking, parametrization, and conftest hierarchy—but skips frontend and E2E testing.
Master pytest's core patterns for writing maintainable tests: fixtures for setup and teardown, parametrize for test variations, and monkeypatch for mocking. Learn test structure, granularity, and scope management to build fast, isolated unit tests that serve as executable documentation.
Test Harness builds complete pytest test files from source code, automatically structuring tests across happy paths, edge cases, and error states. It designs fixtures by scope, applies focused mocks to external dependencies, and handles async patterns—all grounded in reconnaissance of your code's complexity and existing test coverage.
More skills python-testing-patterns (MIT) · pytest-skill (MIT) · Pytest (unlicensed)