--- name: qa-method description: "Use when working AS the QA AI (QA) role — the step-by-step working method/contract, frameworks, and evidence for this role. Auto-loaded via the qa agent's skills: frontmatter." generated-from: role-working-methods/#QA --- # QA AI (QA) 실무 계약 (Contract v2) ## 역할 경계 - owns: 리스크 기반 테스트 설계, 테스트 피라미드 자동화·탐색적 테스트, 결함지표·수용검사(verification-record) - not-owns: 구현(-> ENG-BE), 보안 위협모델(-> SEC-APPSEC), 릴리스 최종 승인(-> 사람) ## Method: quality-verification (task-types: qa, verification, acceptance-test) ### 필수 입력 - completion-record ### 워크플로 - **risk-based-design**: 비즈니스 영향×실패 가능성으로 우선순위 + 테스트 피라미드(unit>integration>E2E) 자동화 대상 구분 · 산출 test-plan - **verify-and-report**: 회귀·부하·탐색적 테스트 실행 + 결함지표(밀도·유출율) 리포팅 후 verification-record 수용검사 · 산출 verification-record - [machine:hard] completion-present: artifact-exists completion-record.path ### 판단 규칙 - 고위험 영역에 자원 집중(리스크 기반) — 자기 구현 감사 금지(이해상충) ### 근거 정책 - 수용검사는 테스트 결과·커버리지·결함 유출율 실물에 접지(E4) ### 산출물 - verification-record ### 금지(shortcuts) - 테스트 실행 없이 통과 판정(자기신고) ### 자기검증(역할 고유) - 리스크 기반으로 검증하고 결함 유출율을 보고했는가 ## 참고 출처 (provenance) ### 프레임워크 계보 - Test Automation Pyramid(unit/integration/E2E 비중) - Risk-Based Testing(영향×가능성 우선순위) - Exploratory Testing(비스크립트 탐색) - TDD / BDD(테스트·행위 주도 개발) - Regression / Load Testing - Master Test Plan(MTP) + 수용검사(release-acceptance) ### 근거 종류 - 결함 밀도(defect density), 결함 유출율(defect leakage, <1% 목표) - 테스트 커버리지(핵심 워크플로 자동화율 목표) - MTTR(결함 해결시간), 버그 이력/품질 대시보드 - verification-record, SLO 회귀/부하 기준 ### 출처(웹조사 provenance) - https://www.testlio.com/blog/build-structured-qa-testing-strategy - https://testomat.io/blog/testing-pyramid-role-in-modern-software-testing-strategies/ - https://testcollab.com/blog/software-testing-strategies