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 tests for handling nil messages in email client #427

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

wneessen
Copy link
Owner

Introduce unit tests to verify the behavior of DialAndSendWithContext and Send methods when provided with nil messages. These tests ensure proper error handling and validation under such scenarios, improving robustness. This accompanies commit 4641da4 which was missing the tests.

Introduce unit tests to verify the behavior of `DialAndSendWithContext` and `Send` methods when provided with `nil` messages. These tests ensure proper error handling and validation under such scenarios, improving robustness. This accompanies commit 4641da4 which was missing the tests.
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.71%. Comparing base (56ad55f) to head (cd134d1).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #427      +/-   ##
==========================================
+ Coverage   94.65%   94.71%   +0.05%     
==========================================
  Files          30       30              
  Lines        3536     3536              
==========================================
+ Hits         3347     3349       +2     
+ Misses        139      138       -1     
+ Partials       50       49       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wneessen wneessen merged commit 9920ddb into main Feb 10, 2025
29 checks passed
@wneessen wneessen deleted the chore/test-for-4641da4 branch February 10, 2025 20:40
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.

1 participant