80 lines
1.5 KiB
Markdown
80 lines
1.5 KiB
Markdown
---
|
|
test_env: local
|
|
test_profile: sample-smoke
|
|
domain: sample
|
|
verification_type: smoke
|
|
last_rule_updated_at: 2026-06-05
|
|
---
|
|
|
|
# sample-smoke local 테스트
|
|
|
|
## 읽기 조건
|
|
|
|
- `assets/yaml/sample/**` 변경 또는 YAML sample 검증이 필요한 경우
|
|
|
|
## 적용 범위
|
|
|
|
- Sample pipeline YAML and public examples
|
|
|
|
## 분류
|
|
|
|
- domain: sample
|
|
- verification_type: smoke
|
|
- scope: sample YAML validity and CLI validation path
|
|
|
|
## 환경
|
|
|
|
- host:
|
|
- port:
|
|
- runtime: Dart SDK
|
|
- package manager: dart pub
|
|
- docker:
|
|
- external service: 없음
|
|
- model endpoint:
|
|
- credential:
|
|
|
|
## 명령
|
|
|
|
- setup: `dart pub get`
|
|
- lint: `dart analyze`
|
|
- unit: `dart test test/oto_validate_cli_test.dart`
|
|
- smoke:
|
|
- e2e:
|
|
- model:
|
|
- full-cycle:
|
|
|
|
## 필수 검증
|
|
|
|
- sample 도메인 변경 후 `dart analyze`를 실행한다.
|
|
- sample 검증 경로 변경 후 `dart test test/oto_validate_cli_test.dart`를 실행한다.
|
|
|
|
## 보조 검증
|
|
|
|
- sample을 직접 실행하는 CLI smoke가 확정되면 이 문서를 `update-test`로 갱신한다.
|
|
|
|
## 판정 기준
|
|
|
|
- analyzer issue가 없고 validate CLI 테스트가 통과한다.
|
|
|
|
## 기준 출력 예시
|
|
|
|
```text
|
|
No issues found!
|
|
All tests passed!
|
|
```
|
|
|
|
## 차단 기준
|
|
|
|
- Dart SDK 또는 path dependency가 없어 local command를 시작할 수 없는 경우
|
|
|
|
## 보고 항목
|
|
|
|
- 실행한 명령:
|
|
- 성공한 검증:
|
|
- 실패/차단된 검증:
|
|
- 생략 사유:
|
|
- 남은 위험:
|
|
|
|
## 금지 사항
|
|
|
|
- 실행하지 않은 sample pipeline을 검증 완료로 기록하지 않는다.
|