OpcUaClient driver: replace scaffold-only unit suites with wire-level tests against the in-process server #622
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Four suites say wire-level round-trips "land in a follow-up PR once we have an in-process server fixture". One now exists (
ServerEventRig, used by the 2026-10-08ClientAlarmMethodTests).Sources: tests/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Tests/OpcUaClientReadWriteTests.cs:7-11 (+ SubscribeAndProbe, Discovery, History); deferment.md §4.4.
Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep.
Partial on master; left open.
OpcUaClientDriverWireTests(OpcUaServer.IntegrationTests, reusingServerEventRig) round-trips the driver against the in-process server with no opc-plc: read (good value and bad status for a missing node), write (round-trip, read-only refusal, device-refused write reverted), subscribe (initial value, changes, unsubscribe), host-status Running -> not Running on server stop, and discovery browse into the builder (2b8b5fbd, merge5a5f9b22). The scaffold-only headers in the four unit suites were retired and docs/drivers/OpcUaClient-Test-Fixture.md updated.Progress 2026-10-08 by the hardware-available issue sweep (master
d898262c); left open for the remaining items.Landed on master (merge
555e8d80,dcc8adcf,4a93d4ce): test-only OpcUaClient reconnect coverage; 10/10 in a reconnect loop, reviewer APPROVE. Driver gap found en route filed as #649 (HistoryRead drops per-node status). Closing.