first commit
This commit is contained in:
38
docs/mcp-tools/test_plan_suggest.md
Normal file
38
docs/mcp-tools/test_plan_suggest.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# Tool Spec: test_plan_suggest
|
||||
|
||||
## Amac
|
||||
Bir endpoint veya dosya icin minimum ama etkili test senaryolari onermek.
|
||||
|
||||
## Input
|
||||
- targetType (zorunlu, string): endpoint | file
|
||||
- target (zorunlu, string): /api/v1/images veya app/images/handlers/image.go
|
||||
- riskLevel (opsiyonel, string): low | medium | high
|
||||
|
||||
## Output
|
||||
- unitTests: Unit test onerileri
|
||||
- integrationTests: Entegrasyon test onerileri
|
||||
- edgeCases: Uc durumlar
|
||||
- securityChecks: Guvenlik kontrolleri
|
||||
|
||||
## Ornek Istek
|
||||
{
|
||||
"targetType": "endpoint",
|
||||
"target": "/api/v1/images",
|
||||
"riskLevel": "medium"
|
||||
}
|
||||
|
||||
## Ornek Cevap
|
||||
{
|
||||
"unitTests": ["query param parse", "pagination default"],
|
||||
"integrationTests": ["auth gerekli", "db response map"],
|
||||
"edgeCases": ["bos sonuc", "gecersiz id"],
|
||||
"securityChecks": ["token yok", "token gecersiz"]
|
||||
}
|
||||
|
||||
## Sinirlar
|
||||
- Oneriler kod tabanindan uretilen kestirimdir.
|
||||
- CI veya coverage verisi olmadan kesinlik beklenmez.
|
||||
|
||||
## Hata Durumlari
|
||||
- invalid params
|
||||
- target bulunamadi
|
||||
Reference in New Issue
Block a user