testcontainers-dotnet
testcontainers-dotnet copied to clipboard
feat: add mailpit as module
What does this PR do?
Adds Testcontainers.Mailpit
as a module to the project.
Why is it important?
Mailpit is an extremely useful tool for testing email related features and I think having it as a module to use inside the Testcontainers .NET C# ecosystem is worth the effort.
Related issues
Didn't find any.
How to test this PR
I've added simple a test that ensures the SMTP and Web servers are working accordingly by sending the email and querying the REST api for that specific email.
To run this test in your shell:
dotnet test "tests/Testcontainers.Mailpit.Tests/Testcontainers.Mailpit.Tests.csproj"
Follow-ups
If this PR is acceptable, I think there is still some tidying-up of the .sln
files to keep consistency as I've seen done in other merged PRs.
Deploy Preview for testcontainers-dotnet ready!
Name | Link |
---|---|
Latest commit | a72409a1f35a679e4b76f9bd8ed2feb425ce7ca3 |
Latest deploy log | https://app.netlify.com/sites/testcontainers-dotnet/deploys/65e36cda620886000857e768 |
Deploy Preview | https://deploy-preview-1134--testcontainers-dotnet.netlify.app/modules |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Sorry for the late response. I will try to review the PR next week :v:.
Relates to #1153.