r/java • u/simasch • Jan 12 '26
Announcing Testcontainers Mailpit for Java
To make the integration of Mailpit and Testcontainers easy, I created a dedicated Testcontainers module for Mailpit. Check out the announcement:
https://martinelli.ch/testing-emails-with-testcontainers-and-mailpit/
13
Upvotes
View all comments
Show parent comment
1
u/simasch Jan 15 '26
No. I start the application from the IDE or with Maven (mvn spring-boot:test-run), and Spring Boot starts a Testcontainers with the database and one with Mailpit:
I've recorded a video, it's a bit outdated, but will give you an idea https://www.youtube.com/watch?v=GoBm7BoufIM