laracasts / Behat-Laravel-Extension

Laravel extension for Behat functional testing.
MIT License
260 stars 73 forks source link

Support Mail testing without MailTrap #77

Open amenk opened 6 years ago

amenk commented 6 years ago

It would be nice to be able to test mails without relying on an external service. Maybe MAIL_DRIVER=log could be used?

amenk commented 6 years ago

Also using mailcatcher.me might be an option. There is a docker https://hub.docker.com/r/tophfr/mailcatcher/ Image and we could easily use it in our CI setup.

amenk commented 6 years ago

I made a small proof of concept for MailCatcher https://github.com/iMi-digital/Behat-Laravel-Extension/commit/c8ad67d56e90c0d2006387e1c35b4a5306dc2032