|
1 | 1 | # Conformance coverage |
2 | 2 |
|
3 | | -The MetaObjects standard ships **40 shared conformance corpora** under |
| 3 | +The MetaObjects standard ships **41 shared conformance corpora** under |
4 | 4 | [`fixtures/`](../fixtures/). Every port runs every corpus that is *applicable to |
5 | 5 | it* and asserts the same expected behaviour against the same fixtures. **This page |
6 | 6 | is the inverse index**: fixture → feature doc + per-port pass status, and it is the |
@@ -64,6 +64,7 @@ regenerate with `ls -d fixtures/<corpus>/*/ | wc -l` for directory-shaped corpor |
64 | 64 | | [`fixtures/foreign-key-index-conformance/`](../fixtures/foreign-key-index-conformance/) (the indexes `migrate.foreignKeyIndexes` adds: which foreign keys are uncovered, and each index's name per dialect, a name over 63 bytes cut on Postgres; and the name each declared `identity.secondary` / `index.lookup` is created under) | 1 model, 4 expected files (FK and declared, postgres and sqlite) | ✓ (reference, `migrate-ts`; the Drizzle tables declare the declared names) | — (no index in a generated model) | ✓ (the Exposed tables declare them) | ✓ (the EF context declares them) | — (same as Java) | |
65 | 65 | | [`fixtures/codegen-noop/`](../fixtures/codegen-noop/) (FR-044 — reporting vocabulary: what is lowered, what stays inert) | 1 model pair (`reporting/with` vs `reporting/without`) | ✓ (codegen + migrate) | ✓ | ✓ | ✓ | ✓ | |
66 | 66 | | [`fixtures/cube-model/`](../fixtures/cube-model/) (FR-044 Plan 4 — the `cube-model` generator's golden Cube files, plus the canonical model's golden) | 46 cases (36 trees + 10 errors) + 1 canonical golden | ✓ (the exporter is TypeScript-only, spec R6; its `cube` lane also loads the files into a real Cube) | — | — | — | — | |
| 67 | +| [`fixtures/writer-conformance/`](../fixtures/writer-conformance/) (ADR-0063 — the code writer generators write through) | 41 cases (31 core + 10 TypeScript) | ✓ (the first writer; core and TypeScript dialect) | — (writer not built yet) | — (writer not built yet) | — (writer not built yet) | — (writer not built yet) | |
67 | 68 | | [`fixtures/contract-conformance/`](../fixtures/contract-conformance/) (FR-022 — the `contract-schema` and `openapi` generators' golden trees and refusals) | 19 cases (14 trees + 5 errors) | ✓ (one neutral engine, ADR-0034 Amendment 10; the generated API lanes also hold real traffic to the documents) | — | — | — | — | |
68 | 69 | | [`fixtures/explorer-conformance/`](../fixtures/explorer-conformance/) (the `explorer.json` data spine: `meta export --effective` + `meta verify --format json` + the generated-file manifest in, one explorer document out) | 1 case (`shop`) | ✓ (the builder is TypeScript, and reads only port-neutral inputs) | — | — | — | — | |
69 | 70 |
|
@@ -97,7 +98,8 @@ the corpora above do two different jobs. Only the first is a promise to adopters |
97 | 98 | A red cell here is a MetaObjects bug. |
98 | 99 | - **Template quality checks — not a promise.** The generated lane of |
99 | 100 | `api-contract-conformance/`, `generator-registry-conformance/` (stable generator names), |
100 | | - `codegen-noop/` (vocabulary with no lowering yet emits nothing), `contract-conformance/` (the JSON Schema and OpenAPI output), `cube-model/` (the Cube |
| 101 | + `codegen-noop/` (vocabulary with no lowering yet emits nothing), `writer-conformance/` (the code |
| 102 | + writer the reference generators write through, ADR-0063), `contract-conformance/` (the JSON Schema and OpenAPI output), `cube-model/` (the Cube |
101 | 103 | exporter's output, a TypeScript reference helper), |
102 | 104 | `requirement-test-identity-conformance/` (which tests the `requirement-tests` reference |
103 | 105 | generator yields from a ledger and what each is called; the text it writes is not |
|
0 commit comments