pytest-config

Solid

Standardized pytest configuration for Claude Night Market plugin testing with reusable fixtures and CI integration. Use when configuring pytest, setting up conftest patterns, or establishing shared test fixtures.

Testing & QA 308 stars 27 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Table of Contents - [Quick Start](#quick-start) - [Detailed Patterns](#detailed-patterns) - [Integration with Other Skills](#integration-with-other-skills) - [Exit Criteria](#exit-criteria) - [Troubleshooting](#troubleshooting) # 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 infrastructure ## When NOT To Use - Non-Python projects or projects using other test frameworks - Simple scripts that do not need test infrastructure ## Quick Start ### Basic pyproject.toml Configuration ```toml [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = [ "-v", "--cov=src", "--cov-report=term-missing", "--cov-fail-under=80", "--strict-markers", ] markers = [ "unit: marks tests as unit tests", "integration: marks tests as integration tests", "slow: marks tests as slow running", ] [tool.coverage.run] source = ["src"] omit = ["*/tests/*", "*/migrations/*", "*/__pycache__/*"] branch = true [tool.coverage.report] exclude_lines = [ "pragma: no cover", "def __repr__", "def __str__", "raise NotImplementedError", "if __name__ == .__main__.:", "if TYPE_CHECKING:", "class .*\\bProtocol\\):", "@(abc\\.)?abstractmethod", ] precision...

Details

Author
athola
Repository
athola/claude-night-market
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category