DarkRockMountain / gomail

GoMail is a powerful library for sending emails via multiple providers, including SMTP, Gmail API, Microsoft Graph API, SendGrid, AWS SES, Mailgun, Mandrill, Postmark, and SparkPost. Supporting attachments, plain text, and HTML content, it simplifies email integration for developers with easy setup and robust functionalities.
https://darkrockmountain.com
Apache License 2.0
3 stars 0 forks source link

[FEATURE] - Extend tests to achieve 90% code coverage #8

Open JRocabruna opened 1 month ago

JRocabruna commented 1 month ago

Is your feature request related to a problem? Please describe. The current test coverage is below the desired threshold, increasing the risk of undetected bugs and issues.

Describe the solution you'd like Extend the test suite to achieve 90% code coverage. This includes adding tests for successful email sending, different SMTP authentication methods, various email content types, network failures, and invalid email addresses.

Describe alternatives you've considered An alternative considered was targeting a lower coverage threshold like 80%, but achieving 90% provides greater confidence in code stability.

Additional context Improving test coverage will enhance code quality and maintainability, facilitating easier refactoring and future feature additions.

github-actions[bot] commented 3 days ago

This issue is stale because it has been open for 30 days with no activity.