-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing tests for Deploy Notifier (SSE) #148
Conversation
They are returned by public API, so should be public too.
Previously it was `StreamExhausted` which caused confusion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mocking makes it difficult to detect regressions, and IMO does not provide any evidence that it's actually working: https://cs-syd.eu/posts/2021-10-22-why-mocking-is-a-bad-idea
@marijanp Provided tests with mocks are mostly the evidence that edge cases are handled according to my expectations: scenarios like double handshake should never happen. Of course we need integration tests to have higher confidence that code is actually working. If I have time I will experiment with running NCTL for notifier tests. |
Fixes #85.