Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/CONFORMANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ regenerate with `ls -d fixtures/<corpus>/*/ | wc -l` for directory-shaped corpor
| [`fixtures/template-codegen-conformance/`](../fixtures/template-codegen-conformance/) | 3 + the `docs-view/` case (16 files: the docs-view scopes, `{path}`, `subDir`, assets and the link check) | ✓ (both) | ✓ (root case; `docs-view/` planned) | ✓ (root case; `docs-view/` planned) | ✓ (root case; `docs-view/` planned) | ✓ (root case; `docs-view/` planned) | — |
| [`fixtures/template-output-render-conformance/`](../fixtures/template-output-render-conformance/) | 5 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (generated `render-helper` crates) |
| [`fixtures/generator-registry-conformance/`](../fixtures/generator-registry-conformance/) | 1 canonical manifest | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| [`fixtures/provider-composition-conformance/`](../fixtures/provider-composition-conformance/) | 18 (11 error-shape + 4 compose-load + 3 attr-ownership) | ✓ | ✓ | — (JVM registry via Java) | ✓ | ✓ | — |
| [`fixtures/provider-composition-conformance/`](../fixtures/provider-composition-conformance/) | 18 (11 error-shape + 4 compose-load + 3 attr-ownership) | ✓ | ✓ | — (JVM registry via Java) | ✓ | ✓ | ✓ |
| [`fixtures/source-resolution-conformance/`](../fixtures/source-resolution-conformance/) | 30 cases | ✓ (reference implementation) | ✓ | inherits via Java | ✓ | ✓ | ✓ |
| [`fixtures/reference-source-conformance/`](../fixtures/reference-source-conformance/) | 6 cases | ✓ (reference implementation) | ✓ | inherits via Java (plus its own codegen exclusion test) | ✓ | ✓ | ✓ |
| [`fixtures/response-verify-conformance/`](../fixtures/response-verify-conformance/) | 7 cases | ✓ (reference implementation) | ✓ | inherits via Java | ✓ | ✓ | ✓ |
Expand Down Expand Up @@ -423,7 +423,7 @@ Per-port runners + commands:
| Kotlin | `cd server/java && mvn -pl codegen-kotlin test` (snapshot suite) | `mvn -f server/java/integration-tests-kotlin/pom.xml test` (needs Docker) | `mvn -f server/java/integration-tests-kotlin/pom.xml test -Dtest=ApiContractConformanceTest` (needs Docker) |
| C# | `dotnet test` (per project) | `scripts/integration-test.sh csharp` (needs Docker) | `dotnet test server/csharp/MetaObjects.IntegrationTests/MetaObjects.IntegrationTests.csproj --filter "FullyQualifiedName~ApiContractConformanceTest"` (needs Docker) |
| Python | `pytest` (per package) | `scripts/integration-test.sh python` (needs Docker) | `cd server/python && uv run --extra integration pytest tests/integration/test_api_contract.py` (needs Docker) |
| Rust | `cd server/rust && cargo test` (registry, metamodel, YAML, source-resolution, reference-source, scope, dependency, naming, skip, validation, wire-vector, writer, generator-registry, render, verify, response-verify, extract, output-prompt, template-output-render, list-query, persistence and api-contract corpora, and the `verify --templates` CLI test; the codegen-compile and scale gates, which run `cargo check` on generated crates and drive the generated client over HTTP against a local stub) | — | — |
| Rust | `cd server/rust && cargo test` (registry, metamodel, YAML, provider-composition, source-resolution, reference-source, scope, dependency, naming, skip, validation, wire-vector, writer, generator-registry, render, verify, response-verify, extract, output-prompt, template-output-render, list-query, persistence and api-contract corpora, and the `verify --templates` CLI test; the codegen-compile and scale gates, which run `cargo check` on generated crates and drive the generated client over HTTP against a local stub) | — | — |

The `persistence-conformance` corpus is intentionally **on-demand** — none of the
unit-test runners (`bun test`, `dotnet test`, `pytest`, `mvn test`) pull Docker.
Expand Down
1 change: 1 addition & 0 deletions docs/ports/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ outright.
| `conformance` (the metamodel corpus) | **599 of 599**, and the ledger is empty |
| `yaml-conformance` | all 19, and the ledger is empty |
| `source-resolution-conformance` | all 30 cases |
| `provider-composition-conformance` | all 18 cases (11 error-shape, 4 compose-load, 3 attr-ownership): the provider error codes and `ERR_REGISTRY_SEALED` through `providers::compose_registry`, a consumer provider's `extend` of a core subtype surviving a strict load, and the owner `TypeRegistry::attr_owner` and `common_attr_owner` report for each attribute (ADR-0062), from the corpus's canonical named providers (`metaobjects/tests/provider_composition_conformance.rs`) |
| `reference-source-conformance` | all 6 cases: a `reference: true` source loads so references resolve against it, a node declared only in reference files is a reference node no generator emits, and a `template.*` declared only there is refused (`ERR_REFERENCE_SOURCE_TEMPLATE`) |
| `dependency-conformance` | the resolution arm, all 36 cases: a declared dependency loads from its committed snapshot (`.metaobjects/deps/<name>/`), verified against `.metaobjects/deps.lock.json` (a stale, missing or mismatched snapshot is `ERR_DEPENDENCY_SNAPSHOT_STALE`), its objects are left out of generation unless `scope.include` names their package, and a new node declared into its package is refused (`ERR_DEPENDENCY_PACKAGE_NOT_OWNED`). The 7 ledger cases are asserted through `dependencies::requirement_ledger`, since the port has no requirement gate yet. The check arm, all 11 cases, through `dependency_check::check_dependencies`, the engine behind `verify --deps` |
| `scope-conformance` | all 10 cases, through `metaobjects::scope`, the matcher `migrate.scope` is read with |
Expand Down
Loading
Loading