nomadcode/agent-ops/rules/common/_templates/test-case-rule-template.md

79 lines
1.5 KiB
Markdown

---
test_env: <local|dev|qa|prod>
test_profile: <test-profile>
domain: <domain|project-wide>
verification_type: <smoke|unit|integration|e2e|model|migration|manual|full-cycle>
last_rule_updated_at: <YYYY-MM-DD>
---
# <test_profile> <test_env> 테스트
## 읽기 조건
- < 도메인/검증 시나리오의 테스트, 검증, 실행 조건 판단이 필요한 경우>
## 적용 범위
- <검증 대상 entrypoint, command, API, UX, profile, service>
## 분류
- domain: <domain|project-wide>
- verification_type: <smoke|unit|integration|e2e|model|migration|manual|full-cycle>
- scope: <검증 대상 변경 범위 요약>
## 환경
- host:
- port:
- runtime:
- package manager:
- docker:
- external service:
- model endpoint:
- credential:
## 명령
- setup:
- lint:
- unit:
- smoke:
- e2e:
- model:
- full-cycle:
## 필수 검증
- <작업 완료 반드시 실행하거나 판단해야 하는 검증>
## 보조 검증
- <실행하면 좋지만 필수 검증을 대체하지 않는 smoke/helper 검증>
## 판정 기준
- <통과로 판단할 출력, 상태, UX, artifact, endpoint 조건>
## 기준 출력 예시
```text
<필요한 경우 기대 출력 예시>
```
## 차단 기준
- <테스트를 계속할 없는 환경/권한/도구/서비스 조건>
## 보고 항목
- 실행한 명령:
- 성공한 검증:
- 실패/차단된 검증:
- 생략 사유:
- 남은 위험:
## 금지 사항
- < 도메인/검증 시나리오에서 하면 되는 >
- secret, token, 개인 endpoint 원문은 tracked 파일에 기록하지 않는다.