koldfront

Testing strategies #email #programming

๐Ÿ• ๏ธŽ - 2017-12-25

Here are two approaches to testing code that sends email, that I have stumbled over recently:

The difference in approach is thought provoking.

Why would you spend the time to implement something that simulates a real mail server, when you can just install a real mail server, and use it to test against?

Why would you test against a simulation (which might have its own set of quirks and shortcomings), rather than the real thing?

Kind of mind boggling to me. But that's apparently what's en vogue.

Also, what on earth does "anti-transactional" mean in this context?!

- Adam ๐Ÿ•๏ธŽ - 2017-12-26

Add comment

To avoid spam many websites make you fill out a CAPTCHA, or log in via an account at a corporation such as Twitter, Facebook, Google or even Microsoft GitHub.

I have chosen to use a more old school method of spam prevention.

To post a comment here, you need to:

ยน Such as Thunderbird, Pan, slrn or Gnus (part of Emacs).