Member-only story
Today, I have released a new library to help developers to write integration tests with a mail server.
I was search on the Internet some weeks ago for a way to emulate a SMTP server and to check what has been sent to my application server.
The SAAS service mailtrap.io is a great solution tough I cannot not use it in the security context of our developments.
I have tried several software (open-source) to emulate a local SMTP server without the (light) burden to install a container or (the heavy one) a VM environment.
I have retained the FakeSmtp software since it was written in Java and nicely working.
Though I have been quickly frustrated :
I love to write tests and test automation is a valued skill inside Serial to improve the quality of our sofware and make the difference.
I have finally forked the FakeSmtp project to offer to developers who could have the same troubles an easy to use java library.
Check the github for more informations :
https://github.com/sleroy/fakesmtp-junit-runner
The library has been released on GitHub and Maven Central.