690514:2019 204-rfa-approval-refactor #01
CI / CD Pipeline / build (push) Successful in 6m1s
CI / CD Pipeline / deploy (push) Failing after 6m42s

This commit is contained in:
2026-05-14 20:19:21 +07:00
parent 07cc6d47b1
commit 0240d80da5
183 changed files with 20050 additions and 1017 deletions
@@ -0,0 +1,34 @@
// File: docs/ai-knowledge-base/templates/test-case.md
# Test Case Specification
## 📋 Metadata
- **Module**: [e.g. Authentication]
- **Type**: Unit / Integration / E2E
- **Author**: [Name]
## 🧪 Test Case: [Descriptive Title]
### Objective
[อธิบายว่าต้องการทดสอบอะไร]
### Pre-conditions
1. User logged in as [Role]
2. Data [X] exists in database
### Test Steps
1. Call API `METHOD /v1/...` with data `[Y]`
2. Verify response status is `200`
3. Verify database record is updated
### Expected Result
- API return success
- Audit log is created
- No side effects on unrelated data
### Edge Cases to Cover
- Missing `Idempotency-Key`
- Unauthorized role access
- Invalid UUID format
---
// Change Log:
// - 2026-05-14: Initial test case template