ZuloOne
English
Sign inTry it
Menu

Platform unit vs business process regression

Updated

Two different gates. Do not mix their bars.

Platform unit (zulo.one / ZuloOne.Tests)#

Contract tests for the Core API and engine: metadata round-trips, schema sync, workspace import, menu resolve, runner rollback, modelIds filter on /api/metadata/tests. A passing case proves the platform behaves; it is not an ERP process.

Keep API round-trips. Drop cases that assert nothing beyond “it opens”, “it answers 200 / returns a non-empty list”, “it is in the catalog” or “insert empty row → MetaId not empty” — no behavioural claim. The same bar holds for the SPA (frontend/src/**/*.test.ts(x), frontend/e2e*): a test checks what a page, form or grid DOES, not that it renders.

Business process regression (zuloone-workspace / Tests/)#

Arrange → act (command / post) → assert registers, balances, amounts, statuses, GL. CI runs these on SKU invs (lite, lite-crm, lite-production, lite-finance, full): each cell installs only its model tree and filters run-all?modelIds=.

Forbidden as the only assert: form opened, Auto CRUD, print-form source Contains, field-stamp without posting impact. See skill zuloone-new-test and Write an integration test.

Filter API#

GET  /api/metadata/tests?modelIds={guid}&modelIds={guid}
POST /api/metadata/tests/run-all?modelIds={guid}

SKU → model names → MetaIds lives in workspace docs/plans/2026-11-10-sku-model-map.json + .github/scripts/sku_matrix.py.

Where next#

Was this page helpful?