Add explicit ordering rules and normalization so the same input yields byte-for-byte stable output.
Definition of done
- Sort commands and parameters deterministically.
- Normalize line endings to
\n or platform-consistent rules.
- Avoid timestamps, machine names, absolute paths in generated XML.
Acceptance checks
- Unit test runs generation twice and asserts same output string.
8) Unit tests for model + renderer + validator
Title: M1: Unit tests for canonical model, MAML renderer, and schema validator
Type: Tests
Labels: adr:001, milestone:m1, area:tests, type:test
Description
Add unit tests that lock the behavior for the Core layer.
Definition of done
-
Tests cover:
- Model creation
- Renderer output contains key nodes
- Validator success/failure
- Determinism
Add explicit ordering rules and normalization so the same input yields byte-for-byte stable output.
Definition of done
\nor platform-consistent rules.Acceptance checks
8) Unit tests for model + renderer + validator
Title:
M1: Unit tests for canonical model, MAML renderer, and schema validatorType: Tests
Labels:
adr:001,milestone:m1,area:tests,type:testDescription
Add unit tests that lock the behavior for the Core layer.
Definition of done
Tests cover: