Skip to content

allow Node to work on a client interface instead of a concrete implementation#847

Open
istyf wants to merge 3 commits intogopcua:mainfrom
istyf:issue-846-increase-testability-of-node
Open

allow Node to work on a client interface instead of a concrete implementation#847
istyf wants to merge 3 commits intogopcua:mainfrom
istyf:issue-846-increase-testability-of-node

Conversation

@istyf
Copy link
Copy Markdown

@istyf istyf commented Dec 10, 2025

This change improves the testability of Node by allowing the injected client to be a mock/fake/stub/whateveryouneed.

Fixes #846

@istyf
Copy link
Copy Markdown
Author

istyf commented Dec 10, 2025

Made the same type of changes to Subscription.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is the Client.Node function impossible to mock for testing?

1 participant