Skip to content

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.

RequirementVerifying test(s)LevelStatus
REQ-INV-001ItemDDLTest (columns present); ItemInputModelTest (round-trip)Backend unitpending
REQ-INV-002ItemDDLTest; ItemInputModelTestBackend unitpending
REQ-INV-003AddItemTest (create with both fields); ItemUniverseTestBackend unitpending
REQ-INV-004ItemEndpointTest (read returns fields, null when unset)Backend unitpending
REQ-INV-005ItemEndpointTest / service update test (set value, then clear via omission, re-read null)Backend unitpending
REQ-INV-006New/extended QuantityComponent-style test + ItemInputModelTest (amount-only ⇒ unit “each”; unit-only ⇒ amount 0; both empty ⇒ null)Backend unitpending
REQ-INV-007ItemValidationTest (no new constraint rejects values)Backend unitpending
REQ-INV-008Existing Item create/read/update tests remain green without the fieldsBackend unitpending
REQ-INV-010useItemsColumnDefs/column-preset test (three columns exist, hide: true)Frontend unitpending
REQ-INV-011ItemTableAGGrid inline-edit test (edit persists through the update flow)Frontend unitpending
REQ-INV-012gridColumnEnhancers/ItemTableAGGrid test (amount editor, UnitCellEditor, date editor wired)Frontend unitpending
REQ-INV-013columnPresets.formatters/renderer test (placeholder for empty; en-US format)Frontend unitpending
REQ-INV-014Inline-edit test (single cell edit does not null the whole count)Frontend unitpending
REQ-INV-020ItemDetailsPanel.test.tsx (“Inventory Count” group renders both fields; placeholder when empty)Frontend unitpending
REQ-INV-021ItemFormPanel.test.tsx (+ .toc variant: group present, in ToC, inputs render)Frontend unitpending
REQ-INV-022ItemFormPanel.test.tsx (set then clear both; submit omits ⇒ cleared); edit-item.spec.ts (e2e)Frontend unit + e2epending
REQ-INV-023ItemFormPanel.test.tsx (null date pre-seeds to now; clearable)Frontend unitpending
REQ-INV-030make pr-checks build of the updated Item functional reference pageDocs buildpending
End-to-ende2e/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
  • Backend coverage is enforced by make build (Gradle + coverage) in operations; new fields must appear in the DDL and round-trip assertions.
  • Frontend coverage thresholds are enforced by Jest (coverageThreshold in jest.config.js); new branches (empty/normalized/cleared paths) need explicit cases.
  • E2E specs run in mock mode; src/mocks/data/mockItems.ts fixtures must carry representative values (one item with both set, one with both null).

Copyright: (c) Arda Systems 2025-2026, All rights reserved