problemA realized component that differs from its design gives one row per field · spec:model.planned-architecture.differing-layer-and-uses · ready floor ready
Executable Spec
Given a component design for {componentId: "component:probe.history"} that plans the layer {plannedLayer: "domain"} and uses {plannedUses: "component:probe.kernel"}
Given the component anchor for that design {anchor: "satisfies the design"}
Given that anchor states the layer {realizedLayer: "application"} and its member uses {realizedUses: "component:probe.audit"}
When the realization comparison runs
Then the comparison lists {unrealized: 0} unrealized designs, {matching: 0} matching designs and {differing: 2} differing rows
Then the differing fields are {fields: "layer, uses"}Given
a component design for {componentId: "component:probe.history"} that plans the layer {plannedLayer: "domain"} and uses {plannedUses: "component:probe.kernel"}
the component anchor for that design {anchor: "satisfies the design"}
that anchor states the layer {realizedLayer: "application"} and its member uses {realizedUses: "component:probe.audit"}When
the realization comparison runs
Then
the comparison lists {unrealized: 0} unrealized designs, {matching: 0} matching designs and {differing: 2} differing rows
the differing fields are {fields: "layer, uses"}Composing needs the script.