Verification: Inventory v00
Traceability between the Inventory v00 requirements and the
tests that verify them. Each row names a requirement (by REQ-INV-* id) and its
verifying test(s), and records status; the full requirement text lives in
requirements.md.
Traceability
Section titled “Traceability”| Requirement | Verifying test(s) | Level | Status |
|---|---|---|---|
| REQ-INV-001 | ItemDDLTest (columns present); ItemInputModelTest (round-trip) | Backend unit | pending |
| REQ-INV-002 | ItemDDLTest; ItemInputModelTest | Backend unit | pending |
| REQ-INV-003 | AddItemTest (create with both fields); ItemUniverseTest | Backend unit | pending |
| REQ-INV-004 | ItemEndpointTest (read returns fields, null when unset) | Backend unit | pending |
| REQ-INV-005 | ItemEndpointTest / service update test (set value, then clear via omission, re-read null) | Backend unit | pending |
| REQ-INV-006 | New/extended QuantityComponent-style test + ItemInputModelTest (amount-only ⇒ unit “each”; unit-only ⇒ amount 0; both empty ⇒ null) | Backend unit | pending |
| REQ-INV-007 | ItemValidationTest (no new constraint rejects values) | Backend unit | pending |
| REQ-INV-008 | Existing Item create/read/update tests remain green without the fields | Backend unit | pending |
| REQ-INV-010 | useItemsColumnDefs/column-preset test (three columns exist, hide: true) | Frontend unit | pending |
| REQ-INV-011 | ItemTableAGGrid inline-edit test (edit persists through the update flow) | Frontend unit | pending |
| REQ-INV-012 | gridColumnEnhancers/ItemTableAGGrid test (amount editor, UnitCellEditor, date editor wired) | Frontend unit | pending |
| REQ-INV-013 | columnPresets.formatters/renderer test (placeholder for empty; en-US format) | Frontend unit | pending |
| REQ-INV-014 | Inline-edit test (single cell edit does not null the whole count) | Frontend unit | pending |
| REQ-INV-020 | ItemDetailsPanel.test.tsx (“Inventory Count” group renders both fields; placeholder when empty) | Frontend unit | pending |
| REQ-INV-021 | ItemFormPanel.test.tsx (+ .toc variant: group present, in ToC, inputs render) | Frontend unit | pending |
| REQ-INV-022 | ItemFormPanel.test.tsx (set then clear both; submit omits ⇒ cleared); edit-item.spec.ts (e2e) | Frontend unit + e2e | pending |
| REQ-INV-023 | ItemFormPanel.test.tsx (null date pre-seeds to now; clearable) | Frontend unit | pending |
| REQ-INV-030 | make pr-checks build of the updated Item functional reference page | Docs build | pending |
| End-to-end | e2e/specs/items/edit-item.spec.ts, item-details.spec.ts, items-grid.spec.ts (view, inline-edit, detail-edit, clear-to-null) | Playwright (mock) | pending |
Coverage notes
Section titled “Coverage notes”- Backend coverage is enforced by
make build(Gradle + coverage) inoperations; new fields must appear in the DDL and round-trip assertions. - Frontend coverage thresholds are enforced by Jest (
coverageThresholdinjest.config.js); new branches (empty/normalized/cleared paths) need explicit cases. - E2E specs run in mock mode;
src/mocks/data/mockItems.tsfixtures must carry representative values (one item with both set, one with both null).
Copyright: (c) Arda Systems 2025-2026, All rights reserved
Copyright: © Arda Systems 2025-2026, All rights reserved