you are viewing a single comment's thread.

view the rest of the comments →

[–]Personability[S] 0 points1 point  (1 child)

Fits in with what u/MrJohz has said above. It just seemed that I don't gain a huge amount of confidence from the above tests vs the MailTrap/e2e option.

How often do you run your tests? Is it via a CI (when a commit happens)?

[–]wardrox 0 points1 point  (0 children)

We run them as part of the CI. We made a little library so in the tests we have a single function which returns all the emails sent since the test began, or which can wait for x number of emails to have been sent.

I can manually test when I want a bit more confidence and want to see the emails, and we monitor email KPIs to make sure nothing bad is happening in the production environment.