pytest-recording
79pytest-recording으로 HTTP 테스트 기록하기
HTTP 테스트는 라이브 API가 변경되거나 자격 증명이 유출될 때 실패하는 경우가 많습니다. 이 스킬은 pytest-recording 카세트를 구성하고 기록된 요청을 정리하는 데 도움을 줍니다.
더 나은 pytest Mock 테스트 작성하기
pytest에서 Mocking은 patch 대상, spies, assertions가 서로 다를 때 혼란스러울 수 있습니다. 이 skill은 pytest-mock fixtures, patches, stubs, async tests에 대한 간결한 패턴을 제공합니다.
이 요청을 에이전트에 복사하세요. 공식 Skill 페이지와 매니페스트가 포함되어 있습니다.
Review the Skillstore skill "pytest-mock-guide" from https://skillstore.io/skills/bossjones-pytest-mock-guide.md and its manifest at https://skillstore.io/api/skills/bossjones-pytest-mock-guide/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.에이전트는 계속해서 계획을 표시하고 보안 정책에서 요구하는 확인을 요청해야 합니다.
AI 에이전트, 크롤러, 스크립트가 전체 페이지 대신 정리된 컨텍스트만 필요할 때 이 링크를 사용하세요.
"pytest-mock-guide" 사용 중입니다. 내 모듈에 import된 dependency를 patch해야 합니다.
예상 결과:
이 skill은 symbol이 사용되는 위치에서 patch한 다음 mocked call을 assert할 것을 권장합니다. 원래 module을 patch하면 imported references를 놓칠 수 있는 이유를 설명합니다.
"pytest-mock-guide" 사용 중입니다. async callback을 테스트해야 합니다.
예상 결과:
이 skill은 async_stub 또는 AsyncMock, await assertions, async side-effect patterns를 안내합니다.
"pytest-mock-guide" 사용 중입니다. 내 mock이 잘못된 arguments를 허용합니다.
예상 결과:
이 skill은 signature errors와 unexpected attributes를 잡기 위해 autospec 또는 spec_set을 제안합니다.
All 91 static findings are false positives caused by Markdown backticks, test-only mock examples, and an ordinary ValueError example. The skill contains documentation only, with no command execution, active filesystem behavior, prompt injection, or malicious intent.
버전이 지정된 평가 보고서, 중립 배지, 임베드 카드 및 인용을 공유하세요. Skillstore는 근거를 보고하지만 이 Skill의 안전 여부를 판단하지 않습니다.
https://skillstore.io/skills/bossjones-pytest-mock-guide/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report[](https://skillstore.io/skills/bossjones-pytest-mock-guide?utm_source=security_passport_badge)<a href="https://skillstore.io/skills/bossjones-pytest-mock-guide?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/bossjones-pytest-mock-guide/security.svg" alt="Skillstore security assessment" loading="lazy"></a><iframe src="https://skillstore.io/embed/skills/bossjones-pytest-mock-guide.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>bossjones. (2026). pytest-mock-guide security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/bossjones-pytest-mock-guide/audits/8@techreport{bossjones-bossjones-pytest-mock-guide-2026,
author = {bossjones},
title = {pytest-mock-guide security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/bossjones-pytest-mock-guide/audits/8},
note = {Author version unspecified}
}cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "pytest-mock-guide security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "bossjones"
date-released: "2026-07-23"
url: "https://skillstore.io/skills/bossjones-pytest-mock-guide/audits/8"
identifiers:
- type: other
value: "skillstore:bossjones-pytest-mock-guide:audit:8"
description: "Skillstore immutable audit report identifier"
database, cache, API, file 의존성을 제어 가능한 mocks로 대체하는 pytest 테스트를 계획합니다.
테스트가 올바른 대상을 patch하고 유용한 정밀도로 calls를 assert하는지 확인합니다.
간결한 예제로 fixtures, spies, stubs, autospec, async assertions를 설명합니다.
pytest-mock-guide를 사용하여 mocker fixture를 언제 사용해야 하는지와 cleanup이 어떻게 동작하는지 설명하세요.
pytest-mock-guide를 사용하여 function, object attribute, dictionary 또는 여러 attributes에 적합한 patch method를 선택하세요.
pytest-mock-guide를 사용하여 내 pytest test에서 calls, awaits, side effects, exceptions에 대한 assertions를 계획하세요.
pytest-mock-guide를 사용하여 내 pytest tests에서 patch-target mistakes, missing autospec, brittle mock chains, weak assertions를 검토하세요.
작성자
bossjones라이선스
MIT
Skillstore 리비전
r2
버전 안내
작성자가 버전을 선언하지 않았습니다.
참조
a39a91716eadede5f4cdefd78178fed4e837a128
유지보수 최신성
2026. 7. 25.
사용량
5 다운로드 · 193 조회
파일 구조
📄 SKILL.md
pytest-recording으로 HTTP 테스트 기록하기
HTTP 테스트는 라이브 API가 변경되거나 자격 증명이 유출될 때 실패하는 경우가 많습니다. 이 스킬은 pytest-recording 카세트를 구성하고 기록된 요청을 정리하는 데 도움을 줍니다.
Pydantic v2 검증 모델 구축
입력이 API, 파일 또는 사용자로부터 올 때 Python 데이터 계약은 달라질 수 있습니다. 이 스킬은 검증, 직렬화 및 오류 처리를 위한 간결한 Pydantic v2 패턴을 제공합니다.
더 나은 Pytest 테스트 작성
Python 팀에는 명확하고 확장하기 쉬운 상태를 유지하는 신뢰할 수 있는 테스트가 필요합니다. 이 스킬은 Claude, Codex, Claude Code가 pytest 픽스처, 매개변수화, 비동기 테스트, 모킹, 테스트 구성 방식을 다룰 수 있도록 안내합니다.
Python 문서 생성
Python 프로젝트에는 최신 API 문서가 부족한 경우가 많습니다. 이 skill은 Claude, Codex 또는 Claude Code가 소스 구조, docstring, type hint를 바탕으로 Markdown 문서를 생성하도록 돕습니다.
Uvicorn으로 Python ASGI 앱 실행
비동기 Python 서비스에는 개발 및 배포를 위한 명확한 서버 설정이 필요합니다. 이 스킬은 간결한 Uvicorn 명령, 구성 지침, 문제 해결 단계를 제공합니다.
Python 앱에 구조화된 로깅 추가
Python 서비스는 검색하고 상관관계를 파악하기 어려운 일반 텍스트 로그를 생성하는 경우가 많습니다. 이 스킬은 구조화된 JSON 로그, 컨텍스트 바인딩, 테스트, 프로덕션 친화적인 프로세서를 위해 structlog를 구성하는 데 도움을 줍니다.
uv로 pytest 테스트 마스터하기
작성자 AbdullahMalik17
Python 팀에는 단위 테스트, FastAPI 테스트, fixtures, 커버리지를 위한 일관된 pytest 워크플로가 필요합니다. 이 스킬은 uv를 사용하는 pytest 프로젝트를 위해 Claude, Codex, Claude Code에 실용적인 명령과 패턴을 제공합니다.
집중된 행동 테스트 작성
작성자 EIS-ITS
팀은 사용자 행동 대신 구현 세부 사항을 그대로 반영하는 취약한 테스트를 추가하는 경우가 많습니다. 이 스킬은 Claude, Codex, Claude Code가 핵심 워크플로를 위한 집중된 테스트를 작성하도록 안내합니다.
Pytest 패턴으로 Python 테스트 작성하기
작성자 sickn33
Python 팀에는 신뢰할 수 있는 테스트를 위한 반복 가능한 패턴이 필요합니다. 이 스킬은 pytest fixtures, mocks, async tests, coverage, CI 설정을 안내합니다.
코드베이스 전반에서 신뢰할 수 있는 테스트 계획하기
작성자 0xDarkMatter
이 스킬은 팀이 테스트 범위를 섞지 않으면서 테스트 전략, 목, 데이터 픽스처, 커버리지 게이트, CI 패턴을 선택하도록 돕습니다. Claude, Codex, Claude Code에 단위, 통합, 엔드투엔드, TDD, 파이프라인 테스트를 위한 구조화된 지침을 제공합니다.
더 나은 Go 테스트 구축
작성자 89jobrien
Go 팀에는 단위, 통합, mock, benchmark, coverage 전반에서 일관된 테스트가 필요합니다. 이 스킬은 Claude, Codex, Claude Code가 개발 중에 적용할 수 있는 실용적인 Go 테스트 패턴을 제공합니다.
pytest TDD로 Python 테스트 구축
작성자 89jobrien
Python 팀은 TDD 원칙을 잃지 않으면서 일관된 테스트, 커버리지, 보고서가 필요한 경우가 많습니다. 이 스킬은 Claude, Codex, Claude Code를 위한 pytest 중심 워크플로, 예제, 보고 지침을 제공합니다.