Files
mercadodevida/work/artifacts/F-020/qa.json
2026-08-17 22:23:10 +02:00

21 lines
1.4 KiB
JSON

{
"feature_id": "F-020",
"agent": "qa",
"verdict": "APPROVED",
"summary": "QA approved. All F-020 acceptance criteria are covered by executable tests and green checks: known zone cost, unknown zone 422, and free-shipping threshold.",
"evidence": [
"shipping.itest.ts covers known zone returning costCents=500",
"shipping.itest.ts covers unknown zone returning HTTP 422 SHIPPING_ZONE_NOT_FOUND",
"shipping.itest.ts covers free shipping when cart total above threshold returning costCents=0",
"cd project && npm run lint/typecheck/build/test passed",
"DB integration shipping/migrations suite passed: 12 files, 47 tests",
"./scripts/verify.sh passed"
],
"acceptance": [
{ "criterion": "Given address in known zone When calculate Then shipping cost returned", "status": "PASS", "evidence": "/shipping/calculate returns cheapest active method in zone" },
{ "criterion": "Given address outside all zones When checkout Then HTTP 422 with clear reason", "status": "PASS", "evidence": "US/94101 returns 422 SHIPPING_ZONE_NOT_FOUND" },
{ "criterion": "Given cart above free shipping threshold Then shipping cost is zero", "status": "PASS", "evidence": "Cart total 5000 above threshold returns costCents=0 freeApplied=true" },
{ "criterion": "verify.sh green", "status": "PASS", "evidence": "./scripts/verify.sh PASS" }
],
"timestamp": "2026-08-15T18:02:56Z"
}