python-testing-patterns
신뢰할 수 있는 Python 테스트 스위트 구축
Python 테스트는 종종 취약하거나 느리거나 불완전해집니다. 이 스킬은 pytest 구조, fixtures, mocks, async 테스트, coverage, CI 설정을 안내합니다.
내 에이전트로 설치
이 요청을 에이전트에 복사하세요. 공식 Skill 페이지와 매니페스트가 포함되어 있습니다.
Review the Skillstore skill "python-testing-patterns" from https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns.md and its manifest at https://skillstore.io/api/skills/activeinferenceinstitute-python-testing-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.에이전트는 계속해서 계획을 표시하고 보안 정책에서 요구하는 확인을 요청해야 합니다.
에이전트가 읽기 쉬운 리소스
AI 에이전트, 크롤러, 스크립트가 전체 페이지 대신 정리된 컨텍스트만 필요할 때 이 링크를 사용하세요.
테스트해 보기
"python-testing-patterns" 사용 중입니다. 계산기 module에는 성공 및 실패 케이스 테스트가 필요합니다.
예상 결과:
일반 산술, 0으로 나누기, 잘못된 입력, parameterized 케이스를 다루는 pytest 계획.
"python-testing-patterns" 사용 중입니다. API 클라이언트는 실제 서비스를 호출하지 않고 테스트해야 합니다.
예상 결과:
응답 처리, 오류 처리, 호출 인수, live network dependency가 없음을 검증하는 mock 기반 접근 방식.
"python-testing-patterns" 사용 중입니다. 팀은 CI에서 반복 가능한 테스트 품질을 원합니다.
예상 결과:
모든 pull request에 대한 fixtures, coverage thresholds, marker 사용, workflow 단계를 포함한 테스트 체크리스트.
보안 감사
안전Static findings are false positives caused by Markdown code fences, pytest tutorial examples, placeholder URLs, and sample configuration values. No prompt injection, credential exfiltration intent, or malicious execution behavior was found in SKILL.md.
위험 요인
⚙️ 외부 명령어 (37)
🌐 네트워크 접근 (15)
🔑 환경 변수 (23)
이 보고서 공유 및 인용
버전이 지정된 평가 보고서, 중립 배지, 임베드 카드 및 인용을 공유하세요. Skillstore는 근거를 보고하지만 이 Skill의 안전 여부를 판단하지 않습니다.
보고서 링크 복사
https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns/audits/9?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 배지
[](https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns?utm_source=security_passport_badge)HTML 배지
<a href="https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/activeinferenceinstitute-python-testing-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>임베드 카드
<iframe src="https://skillstore.io/embed/skills/activeinferenceinstitute-python-testing-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>학술 인용 (APA · BibTeX · CFF)
APA 인용
ActiveInferenceInstitute. (2026). python-testing-patterns security audit report (audit version 9) [Author version unspecified]. Skillstore. https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns/audits/9BibTeX 인용
@techreport{activeinferenceinstitute-activeinferenceinstitute-python-testing-patterns-2026,
author = {ActiveInferenceInstitute},
title = {python-testing-patterns security audit report (audit version 9)},
institution = {Skillstore},
year = {2026},
number = {9},
url = {https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns/audits/9},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "python-testing-patterns security audit report (audit version 9)"
version: "unspecified"
type: report
authors:
- name: "ActiveInferenceInstitute"
date-released: "2026-07-07"
url: "https://skillstore.io/skills/activeinferenceinstitute-python-testing-patterns/audits/9"
identifiers:
- type: other
value: "skillstore:activeinferenceinstitute-python-testing-patterns:audit:9"
description: "Skillstore immutable audit report identifier"
변형 비교
설치 가능한 변형 3개각 작성자의 스킬은 별도의 설치 항목으로 유지됩니다. 추천 변형은 Skillstore 근거로 순위가 정해집니다.
이 변형이 1위인 이유
sickn33-python-testing-patterns
2026-09-09
wshobson-python-testing-patterns
2026-09-09
activeinferenceinstitute-python-testing-patterns
2026-10-21
Skillstore 점수
이 점수의 이유 증거 신뢰도: 높음만들 수 있는 것
Python Module에 단위 테스트 추가
함수, 클래스, edge cases, 예상 예외에 대한 집중적인 pytest 케이스를 작성합니다.
외부 서비스를 안전하게 모킹
API 호출을 mocks와 assertions로 대체하여 테스트가 실제 네트워크 요청을 피하도록 합니다.
프로젝트 테스트 관행 표준화
fixtures, coverage 설정, CI workflow 단계, 명확한 테스트 구성을 정의합니다.
이 프롬프트를 사용해 보세요
Use python-testing-patterns to design beginner pytest tests for this module. Include happy paths, edge cases, and exception checks.
Apply python-testing-patterns to refactor these tests with fixtures and parameterization. Keep each case independent and readable.
Use python-testing-patterns to test this API-facing code. Mock network calls and isolate environment variables with monkeypatch.
Use python-testing-patterns to propose a complete pytest strategy with unit, integration, async, database, coverage, and CI guidance.
모범 사례
- 테스트를 격리되고 결정적이며 설정이 명확하게 드러나도록 유지하세요.
- 외부 dependencies를 모킹하고 중요한 호출이나 side effects를 assert하세요.
- 의미 있는 동작 검사를 우선하면서 coverage를 측정하세요.
피하기
- 코드가 실행된다는 것만 증명하는 모호한 테스트를 작성하지 마세요.
- 실제 서비스, 로컬 상태, 공유된 테스트 순서에 의존하지 마세요.
- 중요한 동작을 테스트하지 않은 채 coverage 수치만 좇지 마세요.
자주 묻는 질문
이 스킬이 테스트를 대신 실행해 주나요?
어떤 테스트 프레임워크에 중점을 두나요?
API 테스트에 도움이 될 수 있나요?
async Python 코드를 테스트할 수 있나요?
CI 안내가 포함되어 있나요?
URLs와 keys는 실제 secrets인가요?
개발자 세부 정보
라이선스
MIT
Skillstore 리비전
r1
버전 안내
작성자가 버전을 선언하지 않았습니다.
참조
d46e62089a6dfc9e14ea02eebd9b8e2ad2dfe1f4
유지보수 최신성
2026. 7. 23.
사용량
7 다운로드 · 299 조회
파일 구조
📄 SKILL.md