-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathcases.json
More file actions
37 lines (37 loc) · 1011 Bytes
/
cases.json
File metadata and controls
37 lines (37 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"cases": [
{
"description": "View all products",
"action": "load",
"filter": "all",
"expectedCount": 6,
"expectedIds": ["P001", "P002", "P003", "P004", "P005", "P006"]
},
{
"description": "Filter by Electronics",
"action": "filter",
"filter": "Electronics",
"expectedCount": 3,
"expectedIds": ["P001", "P002", "P003"]
},
{
"description": "Filter by Furniture",
"action": "filter",
"filter": "Furniture",
"expectedCount": 2,
"expectedIds": ["P004", "P005"]
},
{
"description": "Health check returns proto plugin status",
"action": "api",
"endpoint": "/api/health",
"expectedBody": { "status": "ok", "plugin": "proto" }
},
{
"description": "API returns snake_case field names (proto convention)",
"action": "api",
"endpoint": "/api/products/P001",
"expectedFields": ["id", "name", "category", "price", "stock", "in_stock"]
}
]
}