- Update all submodule URLs from gitea.centraal.wbd-rd.nl to gitea.wbd-rd.nl - Add settler as proper submodule in .gitmodules - Add agent skills, function anchors, decisions, and improvements - Add Docker configuration and scripts - Add manuals and third_party docs - Update .gitignore with secrets and build artifacts - Remove stale .tgz build artifact Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
1.7 KiB
Markdown
33 lines
1.7 KiB
Markdown
# Measurement Test Evidence
|
|
|
|
Status: baseline suite created and executed.
|
|
|
|
## Required Test Layout
|
|
- `nodes/measurement/test/basic/*.test.js`
|
|
- `nodes/measurement/test/integration/*.test.js`
|
|
- `nodes/measurement/test/edge/*.test.js`
|
|
- `nodes/measurement/test/helpers/*.js`
|
|
|
|
## Test-to-Contract Mapping
|
|
| Test file | Scope | Primary contracts anchored |
|
|
|---|---|---|
|
|
| `nodes/measurement/test/basic/specific-constructor.basic.test.js` | constructor baseline and range derivation | `Measurement` constructor |
|
|
| `nodes/measurement/test/basic/scaling-and-output.basic.test.js` | scaling constraint and output update path | `calculateInput`, `updateOutputAbs`, `getOutput` |
|
|
| `nodes/measurement/test/basic/nodeclass-routing.basic.test.js` | topic routing and registration output shape | `nodeClass._attachInputHandler`, `_registerChild` |
|
|
| `nodes/measurement/test/integration/examples-flows.integration.test.js` | example package integrity and expected topic drivers | `nodes/measurement/examples/*.flow.json` |
|
|
| `nodes/measurement/test/integration/measurement-event.integration.test.js` | measurement container event emission contract | `updateOutputAbs`, measurement emitter wiring |
|
|
| `nodes/measurement/test/edge/invalid-payload.edge.test.js` | non-numeric input payload ignored behavior | `nodeClass._attachInputHandler` measurement branch |
|
|
| `nodes/measurement/test/edge/outlier-toggle.edge.test.js` | current outlier toggle behavior capture | `toggleOutlierDetection` |
|
|
|
|
## Executed
|
|
- Command:
|
|
- `cd nodes/measurement && npm test`
|
|
- Result:
|
|
- `pass: baseline suite` (see latest run in session)
|
|
- Date:
|
|
- February 19, 2026
|
|
|
|
## Known Gaps Captured by Tests
|
|
- Outlier toggle currently converts config object to boolean.
|
|
- Measurement topic currently ignores numeric strings.
|