testcontainers-dotnet icon indicating copy to clipboard operation
testcontainers-dotnet copied to clipboard

feat: add mailpit as module

Open feslima opened this issue 11 months ago • 3 comments

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.

feslima avatar Mar 02 '24 18:03 feslima

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

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Mar 02 '24 18:03 netlify[bot]

Sorry for the late response. I will try to review the PR next week :v:.

HofmeisterAn avatar Apr 07 '24 08:04 HofmeisterAn

Relates to #1153.

HofmeisterAn avatar Apr 29 '24 13:04 HofmeisterAn