- 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>
24 lines
2.1 KiB
Markdown
24 lines
2.1 KiB
Markdown
# Rotating Machine Test Evidence
|
|
|
|
## Scope
|
|
Evidence source for `ANCHOR-rotatingMachine.md`.
|
|
|
|
## Test-to-Contract Mapping
|
|
| Test file | Contract/Behavior Anchored |
|
|
|---|---|
|
|
| `nodes/rotatingMachine/test/basic/constructor.basic.test.js` | Constructor should tolerate missing model curve and still return output object with core fields. |
|
|
| `nodes/rotatingMachine/test/basic/mode-and-input.basic.test.js` | Mode validation, source/action gating behavior, and active-state definition (`warmingup` active). |
|
|
| `nodes/rotatingMachine/test/edge/error-paths.edge.test.js` | Error path resilience in `setpoint()` and status update exception fallback (`Status Error`). |
|
|
| `nodes/rotatingMachine/test/edge/nodeClass-routing.edge.test.js` | Topic routing for control and simulation commands, pressure init warning behavior, and debug topic reply routing. |
|
|
| `nodes/rotatingMachine/test/integration/sequences.integration.test.js` | End-to-end state transitions for startup and movement command paths. |
|
|
| `nodes/rotatingMachine/test/integration/registration.integration.test.js` | Child measurement registration pipeline stores measured pressure in parent container. |
|
|
| `nodes/rotatingMachine/test/integration/pressure-initialization.integration.test.js` | Pressure initialization matrix (none/upstream/downstream/both) and preference for real child pressure over virtual dashboard pressure. |
|
|
| `nodes/rotatingMachine/test/integration/coolprop.integration.test.js` | Efficiency calculation path passes through CoolProp logic and verifies pressure dimension initialization behavior. |
|
|
| `nodes/rotatingMachine/test/integration/basic-flow-dashboard.integration.test.js` | Example dashboard parser wiring and topic/index contracts for flow/power/pressure charts. |
|
|
|
|
## Remaining Coverage Gaps
|
|
- No direct test proves `handleInput('emergencystop')` sequence-name alignment with config key.
|
|
- No direct test for `CoG` input topic when `showCoG` is absent.
|
|
- No direct test for UI label precedence behavior in `rotatingMachine.html`.
|
|
- No direct test for typo path `machineConfig.eneableLog` in `_setupSpecificClass`.
|