refactor: [docs] 팀별 폴더 구조 재편 (공유/개발/프론트/기획)
- 개발팀 전용 폴더 dev/ 생성 (standards, guides, quickstart, changes, deploys, data, history, dev_plans 이동) - 프론트엔드 전용 폴더 frontend/ 생성 (api/ → frontend/api-specs/) - 기획팀 폴더 requests/ 생성 - plans/ → dev/dev_plans/ 이름 변경 - README.md 신규 (사람용 안내), INDEX.md 재작성 (Claude Code용) - resources.md 신규 (노션 링크용, assets/brochure 이관 예정) - CURRENT_WORKS.md 삭제, TODO.md → dev/ 이동 - 전체 참조 경로 업데이트 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
108
dev/dev_plans/flow-tests/items-bom-test.json
Normal file
108
dev/dev_plans/flow-tests/items-bom-test.json
Normal file
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"name": "Items BOM 데이터 조회 테스트",
|
||||
"description": "GET /items/{id} 호출 시 BOM 데이터가 확장되어 반환되는지 테스트 (child_item_code, child_item_name, unit 포함)",
|
||||
"version": "1.0",
|
||||
"config": {
|
||||
"baseUrl": "",
|
||||
"timeout": 30000,
|
||||
"stopOnFailure": true
|
||||
},
|
||||
"variables": {
|
||||
"user_id": "{{$env.FLOW_TESTER_USER_ID}}",
|
||||
"user_pwd": "{{$env.FLOW_TESTER_USER_PWD}}",
|
||||
"test_item_id": "818",
|
||||
"test_item_type": "FG"
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"id": "login",
|
||||
"name": "로그인",
|
||||
"method": "POST",
|
||||
"endpoint": "/login",
|
||||
"body": {
|
||||
"user_id": "{{user_id}}",
|
||||
"user_pwd": "{{user_pwd}}"
|
||||
},
|
||||
"expect": {
|
||||
"status": [200],
|
||||
"jsonPath": {
|
||||
"$.access_token": "@isString"
|
||||
}
|
||||
},
|
||||
"extract": {
|
||||
"token": "$.access_token"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "get_items_list",
|
||||
"name": "품목 목록 조회 (FG/PT 타입)",
|
||||
"method": "GET",
|
||||
"endpoint": "/items?type=FG,PT&size=10",
|
||||
"headers": {
|
||||
"Authorization": "Bearer {{login.token}}"
|
||||
},
|
||||
"expect": {
|
||||
"status": [200],
|
||||
"jsonPath": {
|
||||
"$.success": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "get_item_detail",
|
||||
"name": "품목 상세 조회 (BOM 확장 확인)",
|
||||
"method": "GET",
|
||||
"endpoint": "/items/{{test_item_id}}?item_type={{test_item_type}}",
|
||||
"headers": {
|
||||
"Authorization": "Bearer {{login.token}}"
|
||||
},
|
||||
"expect": {
|
||||
"status": [200],
|
||||
"jsonPath": {
|
||||
"$.success": true,
|
||||
"$.data.id": "@isNumber",
|
||||
"$.data.item_type": "@isString",
|
||||
"$.data.code": "@isString",
|
||||
"$.data.name": "@isString"
|
||||
}
|
||||
},
|
||||
"extract": {
|
||||
"item_id": "$.data.id",
|
||||
"item_code": "$.data.code",
|
||||
"item_bom": "$.data.bom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "get_item_bom_api",
|
||||
"name": "Items BOM API 조회",
|
||||
"description": "GET /items/{id}/bom 엔드포인트 테스트",
|
||||
"method": "GET",
|
||||
"endpoint": "/items/{{test_item_id}}/bom",
|
||||
"headers": {
|
||||
"Authorization": "Bearer {{login.token}}"
|
||||
},
|
||||
"expect": {
|
||||
"status": [200],
|
||||
"jsonPath": {
|
||||
"$.success": true
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "get_item_bom_tree",
|
||||
"name": "Items BOM 트리 조회",
|
||||
"description": "GET /items/{id}/bom/tree 엔드포인트 테스트",
|
||||
"method": "GET",
|
||||
"endpoint": "/items/{{test_item_id}}/bom/tree",
|
||||
"headers": {
|
||||
"Authorization": "Bearer {{login.token}}"
|
||||
},
|
||||
"expect": {
|
||||
"status": [200],
|
||||
"jsonPath": {
|
||||
"$.success": true
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user