• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JaCraig / SimpleMail / 12415710548
62%

Build:
DEFAULT BRANCH: master
Ran 19 Dec 2024 03:28PM UTC
Jobs 1
Files 3
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Dec 2024 03:27PM UTC coverage: 66.171% (+66.2%) from 0.0%
12415710548

push

github

JaCraig
feat(email-system): enhance email handling and testing

This commit introduces several improvements and new features to the email handling system, including enhanced validation, better handling of null values, and expanded unit tests.

- Add NSubstitute package reference in `SimpleMail.Tests.csproj` for mocking in unit tests.
- Modify `Attachment` class to handle nullable parameters and properties.
- Update `Send` and `SendAsync` methods in `Email` class to validate `From` and recipients.
- Enhance `AddAddresses` method in `Email` class to skip null `MailboxAddress` entries.
- Improve `MailBox` class to trim and validate parameters, and handle null or whitespace `emailAddress`.
- Add new unit tests in `AttachmentTests.cs` for `Attachment` class.
- Add new unit tests in `EmailTests.cs` for `Email` class.
- Add new unit tests in `MailBoxTests.cs` for `MailBox` class.

71 of 120 branches covered (59.17%)

Branch coverage included in aggregate %.

17 of 21 new or added lines in 3 files covered. (80.95%)

2 existing lines in 1 file now uncovered.

107 of 149 relevant lines covered (71.81%)

5.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12415710548.1 19 Dec 2024 03:28PM UTC 0
66.17
GitHub Action Run
Source Files on build 12415710548
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12415710548
  • 89a33208 on github
  • Prev Build on master (#12380462935)
  • Next Build on master (#12527630906)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc