Proper pytest configuration ensures fast test discovery, correct isolation, and consistent behavior across environments. This skill provides production-ready configuration patterns.
Use when setting up pytest in a project with "configure pytest", "setup test discovery", "create conftest", or "configure coverage".
Do NOT use for writing tests themselves (use layer-specific testing skills), debugging failures (use test-debug-failures), or mocking strategies (use pytest-mocking-strategy).
완전한 pytest 구성 제공: pyproject.toml 설정, 사용자 정의 마커 등록, 테스트 검색 패턴, 플러그인 구성, 환경별 설정. conftest.py 계층 구조, 설비 범위 지정 및 적용 범위 구성이 포함됩니다. 사용 시기: 프로젝트에서 pytest 설정, 테스트 검색 구성, 공유 픽스쳐 생성, 적용 범위 보고 설정, 테스트 환경 관리, conftest.py 파일 구성. 출처: dawiddutoit/custom-claude.