--- test_env: local test_profile: command-smoke domain: command verification_type: smoke last_rule_updated_at: 2026-06-05 --- # command-smoke local 테스트 ## 읽기 조건 - `lib/oto/commands/**`, `lib/oto/data/**`, 또는 command template 변경 검증이 필요한 경우 ## 적용 범위 - Command registry, command runtime, command catalog, DataParam JSON 모델 ## 분류 - domain: command - verification_type: smoke - scope: command 구현과 데이터 모델 ## 환경 - 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_command_catalog_test.dart test/oto_command_runtime_test.dart` - smoke: - e2e: - model: - full-cycle: ## 필수 검증 - command 도메인 변경 후 `dart analyze`를 실행한다. - command 도메인 변경 후 관련 `dart test` 명령을 실행한다. - `@JsonSerializable` 모델을 추가/변경한 경우 `dart run build_runner build`를 실행하거나 생성물 갱신 필요를 보고한다. ## 보조 검증 - 전체 command 회귀가 필요하면 `dart test`를 실행한다. ## 판정 기준 - analyzer issue가 없고 지정 테스트가 통과한다. - 생성 코드가 필요한 변경은 generated file과 source가 일치한다. ## 기준 출력 예시 ```text No issues found! All tests passed! ``` ## 차단 기준 - Dart SDK 또는 path dependency가 없어 local command를 시작할 수 없는 경우 ## 보고 항목 - 실행한 명령: - 성공한 검증: - 실패/차단된 검증: - 생략 사유: - 남은 위험: ## 금지 사항 - 검증되지 않은 외부 서비스 응답을 command 통과 기준으로 기록하지 않는다.