Skip to content
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

Merged
merged 9 commits into from
Jul 12, 2024

Conversation

koxu1996
Copy link
Contributor

Fixes #85.

@koxu1996 koxu1996 self-assigned this Jul 11, 2024
Copy link
Contributor

@marijanp marijanp left a 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

@koxu1996
Copy link
Contributor Author

@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.

@koxu1996 koxu1996 merged commit 237c528 into main Jul 12, 2024
4 checks passed
@koxu1996 koxu1996 deleted the feature/deploy-notifier-tests branch July 12, 2024 19:33
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.

Missing tests in Casper Deploy Notifier
3 participants