Standardized pytest configuration patterns for plugin development. Reduces duplication across parseltongue, pensive, sanctum, and other plugins. Triggers: pytest configuration, conftest, fixtures, test setup, CI integration, git testing fixtures, mock fixtures, pytest patterns Use when: setting up pytest for plugin development, creating test fixtures, configuring CI/CD for pytest, standardizing test configuration DO NOT use when: not using pytest for testing. Consult this skill when configuring pytest for plugin development.
/plugin marketplace add athola/claude-night-market/plugin install leyline@claude-night-marketThis skill inherits all available tools. When active, it can use any tool Claude has access to.
modules/README.mdmodules/ci-integration.mdmodules/conftest-patterns.mdmodules/git-testing-fixtures.mdmodules/mock-fixtures.mdStandardized pytest configuration and patterns for consistent testing infrastructure across Claude Night Market plugins.
[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 = 2
show_missing = true
For detailed implementation patterns, see:
This skill provides foundational patterns referenced by:
parseltongue:python-testing - Uses pytest configuration and fixturespensive:test-review - Uses test quality standardssanctum:test-* - Uses conftest patterns and Git fixturesReference in your skill's frontmatter:
dependencies: [leyline:pytest-config, leyline:testing-quality-standards]