testcontainers / testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.org
MIT License
8.05k stars 1.66k forks source link

New module: Mailhog #4355

Closed ghost closed 1 year ago

ghost commented 3 years ago

Hey there,

we have created a module for MailHog in our fork. MailHog is a mail server that simply collects mails (instead of delivering them) and offes a web interface to view all mails that have been sent. It also offers an API to retrieve these mails. This makes it possible to use it in integration tests for applications that send mails. With this issue I'd like to propose that new module.

I will open a PR and you can give us feedback on what might be improved as to fit your requirements on modules. Of course only, when you deem this a useful module :) I could not find an issue or PR regarding mailhog so I hope this is not a duplicate or otherwise discussed topic.

eddumelendez commented 1 year ago

See https://github.com/testcontainers/testcontainers-java/pull/4356#issuecomment-1607899752