Skip to content

Commit 31fb7f7

Browse files
Brenden WalkerBrendenWalker
authored andcommitted
working toward recipe - shopping list
1 parent 0d50e1b commit 31fb7f7

15 files changed

Lines changed: 5413 additions & 127 deletions

kitchenhub/backend/junit.xml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<testsuites name="jest tests" tests="41" failures="0" errors="0" time="0.689">
3-
<testsuite name="KitchenHub API" errors="0" failures="0" skipped="0" timestamp="2026-03-29T13:17:11" time="0.641" tests="41">
4-
<testcase classname="KitchenHub API GET /api/health returns 200 with status, timestamp, and version" name="KitchenHub API GET /api/health returns 200 with status, timestamp, and version" time="0.036">
2+
<testsuites name="jest tests" tests="43" failures="0" errors="0" time="0.732">
3+
<testsuite name="KitchenHub API" errors="0" failures="0" skipped="0" timestamp="2026-03-29T15:00:14" time="0.689" tests="43">
4+
<testcase classname="KitchenHub API GET /api/health returns 200 with status, timestamp, and version" name="KitchenHub API GET /api/health returns 200 with status, timestamp, and version" time="0.033">
55
</testcase>
6-
<testcase classname="KitchenHub API Stores GET /api/stores returns All store first then DB stores" name="KitchenHub API Stores GET /api/stores returns All store first then DB stores" time="0.005">
6+
<testcase classname="KitchenHub API Stores GET /api/stores returns All store first then DB stores" name="KitchenHub API Stores GET /api/stores returns All store first then DB stores" time="0.009">
77
</testcase>
8-
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns All store for id -1" name="KitchenHub API Stores GET /api/stores/:id returns All store for id -1" time="0.002">
8+
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns All store for id -1" name="KitchenHub API Stores GET /api/stores/:id returns All store for id -1" time="0.003">
99
</testcase>
10-
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns 404 when store not found" name="KitchenHub API Stores GET /api/stores/:id returns 404 when store not found" time="0.002">
10+
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns 404 when store not found" name="KitchenHub API Stores GET /api/stores/:id returns 404 when store not found" time="0.003">
1111
</testcase>
12-
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns store when found" name="KitchenHub API Stores GET /api/stores/:id returns store when found" time="0.003">
12+
<testcase classname="KitchenHub API Stores GET /api/stores/:id returns store when found" name="KitchenHub API Stores GET /api/stores/:id returns store when found" time="0.002">
1313
</testcase>
1414
<testcase classname="KitchenHub API Stores POST /api/stores creates store" name="KitchenHub API Stores POST /api/stores creates store" time="0.01">
1515
</testcase>
1616
<testcase classname="KitchenHub API Stores PUT /api/stores/-1 returns 403 for All store" name="KitchenHub API Stores PUT /api/stores/-1 returns 403 for All store" time="0.002">
1717
</testcase>
18-
<testcase classname="KitchenHub API Stores DELETE /api/stores/-1 returns 403 for All store" name="KitchenHub API Stores DELETE /api/stores/-1 returns 403 for All store" time="0.002">
18+
<testcase classname="KitchenHub API Stores DELETE /api/stores/-1 returns 403 for All store" name="KitchenHub API Stores DELETE /api/stores/-1 returns 403 for All store" time="0.003">
1919
</testcase>
2020
<testcase classname="KitchenHub API Stores PUT /api/stores/:id returns 404 when store not found" name="KitchenHub API Stores PUT /api/stores/:id returns 404 when store not found" time="0.002">
2121
</testcase>
2222
<testcase classname="KitchenHub API Stores DELETE /api/stores/:id returns 404 when store not found" name="KitchenHub API Stores DELETE /api/stores/:id returns 404 when store not found" time="0.003">
2323
</testcase>
2424
<testcase classname="KitchenHub API Store zones GET /api/stores/-1/zones returns synthetic General zones" name="KitchenHub API Store zones GET /api/stores/-1/zones returns synthetic General zones" time="0.002">
2525
</testcase>
26-
<testcase classname="KitchenHub API Store zones GET /api/stores/1/zones returns zones from DB" name="KitchenHub API Store zones GET /api/stores/1/zones returns zones from DB" time="0.001">
26+
<testcase classname="KitchenHub API Store zones GET /api/stores/1/zones returns zones from DB" name="KitchenHub API Store zones GET /api/stores/1/zones returns zones from DB" time="0.002">
2727
</testcase>
2828
<testcase classname="KitchenHub API Store zones POST /api/stores/-1/zones returns 403 for All store" name="KitchenHub API Store zones POST /api/stores/-1/zones returns 403 for All store" time="0.002">
2929
</testcase>
@@ -33,7 +33,7 @@
3333
</testcase>
3434
<testcase classname="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 403 for All store" name="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 403 for All store" time="0.002">
3535
</testcase>
36-
<testcase classname="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 400 when seqA/seqB missing" name="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 400 when seqA/seqB missing" time="0.001">
36+
<testcase classname="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 400 when seqA/seqB missing" name="KitchenHub API Store zones POST /api/stores/1/zones/swap returns 400 when seqA/seqB missing" time="0.002">
3737
</testcase>
3838
<testcase classname="KitchenHub API Store zones POST /api/stores/1/zones/swap succeeds" name="KitchenHub API Store zones POST /api/stores/1/zones/swap succeeds" time="0.002">
3939
</testcase>
@@ -47,41 +47,45 @@
4747
</testcase>
4848
<testcase classname="KitchenHub API Departments PATCH /api/departments/:id updates ingredient flag" name="KitchenHub API Departments PATCH /api/departments/:id updates ingredient flag" time="0.002">
4949
</testcase>
50-
<testcase classname="KitchenHub API Items GET /api/items returns list" name="KitchenHub API Items GET /api/items returns list" time="0.001">
50+
<testcase classname="KitchenHub API Items GET /api/items returns list" name="KitchenHub API Items GET /api/items returns list" time="0.002">
5151
</testcase>
5252
<testcase classname="KitchenHub API Items GET /api/items/:id returns 404 when not found" name="KitchenHub API Items GET /api/items/:id returns 404 when not found" time="0.002">
5353
</testcase>
54-
<testcase classname="KitchenHub API Items GET /api/items/1 returns item" name="KitchenHub API Items GET /api/items/1 returns item" time="0.002">
54+
<testcase classname="KitchenHub API Items GET /api/items/1 returns item" name="KitchenHub API Items GET /api/items/1 returns item" time="0.001">
5555
</testcase>
56-
<testcase classname="KitchenHub API Items POST /api/items creates item" name="KitchenHub API Items POST /api/items creates item" time="0.001">
56+
<testcase classname="KitchenHub API Items POST /api/items creates item" name="KitchenHub API Items POST /api/items creates item" time="0.002">
5757
</testcase>
58-
<testcase classname="KitchenHub API Items PUT /api/items/:id returns 404 when not found" name="KitchenHub API Items PUT /api/items/:id returns 404 when not found" time="0.002">
58+
<testcase classname="KitchenHub API Items PUT /api/items/:id returns 404 when not found" name="KitchenHub API Items PUT /api/items/:id returns 404 when not found" time="0.003">
5959
</testcase>
6060
<testcase classname="KitchenHub API Items DELETE /api/items/:id returns 404 when not found" name="KitchenHub API Items DELETE /api/items/:id returns 404 when not found" time="0.001">
6161
</testcase>
6262
<testcase classname="KitchenHub API Shopping list GET /api/shopping-list/-1 returns list for All store" name="KitchenHub API Shopping list GET /api/shopping-list/-1 returns list for All store" time="0.002">
6363
</testcase>
64-
<testcase classname="KitchenHub API Shopping list GET /api/shopping-list/1 returns list for store" name="KitchenHub API Shopping list GET /api/shopping-list/1 returns list for store" time="0.001">
64+
<testcase classname="KitchenHub API Shopping list GET /api/shopping-list/1 returns list for store" name="KitchenHub API Shopping list GET /api/shopping-list/1 returns list for store" time="0.002">
6565
</testcase>
6666
<testcase classname="KitchenHub API Shopping list GET /api/shopping-list returns all items" name="KitchenHub API Shopping list GET /api/shopping-list returns all items" time="0.001">
6767
</testcase>
68-
<testcase classname="KitchenHub API Shopping list POST /api/shopping-list adds item" name="KitchenHub API Shopping list POST /api/shopping-list adds item" time="0.002">
68+
<testcase classname="KitchenHub API Shopping list POST /api/shopping-list adds item" name="KitchenHub API Shopping list POST /api/shopping-list adds item" time="0.001">
6969
</testcase>
7070
<testcase classname="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 400 when no fields to update" name="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 400 when no fields to update" time="0.002">
7171
</testcase>
72-
<testcase classname="KitchenHub API Shopping list PUT /api/shopping-list/:name updates quantity" name="KitchenHub API Shopping list PUT /api/shopping-list/:name updates quantity" time="0.001">
72+
<testcase classname="KitchenHub API Shopping list PUT /api/shopping-list/:name updates quantity" name="KitchenHub API Shopping list PUT /api/shopping-list/:name updates quantity" time="0.002">
7373
</testcase>
74-
<testcase classname="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 404 when not found" name="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 404 when not found" time="0.002">
74+
<testcase classname="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 404 when not found" name="KitchenHub API Shopping list PUT /api/shopping-list/:name returns 404 when not found" time="0.001">
7575
</testcase>
7676
<testcase classname="KitchenHub API Shopping list PATCH /api/shopping-list/:name/purchased updates purchased" name="KitchenHub API Shopping list PATCH /api/shopping-list/:name/purchased updates purchased" time="0.001">
7777
</testcase>
7878
<testcase classname="KitchenHub API Shopping list PATCH /api/shopping-list/:name/purchased returns 404 when not found" name="KitchenHub API Shopping list PATCH /api/shopping-list/:name/purchased returns 404 when not found" time="0.002">
7979
</testcase>
80-
<testcase classname="KitchenHub API Shopping list DELETE /api/shopping-list/:name removes item" name="KitchenHub API Shopping list DELETE /api/shopping-list/:name removes item" time="0.002">
80+
<testcase classname="KitchenHub API Shopping list DELETE /api/shopping-list/:name removes item" name="KitchenHub API Shopping list DELETE /api/shopping-list/:name removes item" time="0.001">
8181
</testcase>
8282
<testcase classname="KitchenHub API Shopping list DELETE /api/shopping-list/:name returns 404 when not found" name="KitchenHub API Shopping list DELETE /api/shopping-list/:name returns 404 when not found" time="0.001">
8383
</testcase>
84-
<testcase classname="KitchenHub API Error handling GET /api/stores returns 500 on DB error" name="KitchenHub API Error handling GET /api/stores returns 500 on DB error" time="0.012">
84+
<testcase classname="KitchenHub API Recipes — add to shopping list POST /api/recipes/:id/shopping-list increments by qty × to_grams" name="KitchenHub API Recipes — add to shopping list POST /api/recipes/:id/shopping-list increments by qty × to_grams" time="0.002">
85+
</testcase>
86+
<testcase classname="KitchenHub API Recipes — add to shopping list POST /api/recipes/:id/shopping-list returns 404 when recipe missing" name="KitchenHub API Recipes — add to shopping list POST /api/recipes/:id/shopping-list returns 404 when recipe missing" time="0.002">
87+
</testcase>
88+
<testcase classname="KitchenHub API Error handling GET /api/stores returns 500 on DB error" name="KitchenHub API Error handling GET /api/stores returns 500 on DB error" time="0.013">
8589
</testcase>
8690
</testsuite>
8791
</testsuites>

0 commit comments

Comments
 (0)