Closed roryc89 closed 6 years ago
There are Two things we can do to ensure that email functionality is working:
I recommend we use AWS Lambda for running the task of checking bounce rate. Example of setting up a Cron job using AWS Lambda: https://github.com/TheScienceMuseum/collectionsonline-sitemap
If you are new to AWS Lambda, check out: https://github.com/dwyl/learn-aws-lambda
Hi @roryc89! @shouston3 has kindly updated the API of this package to be easily testable. We will need to update our usage of it in OA. hopefully it's a small update. Please confirm this helps ... thanks! 👍
Thanks for the update @nelsonic. I believe the update in OA was made a while ago. I don't think the level of e2e testing mentioned in the description as we can rely upon SES. Do you think we're ok to close this?
@roryc89 yeah, let's close it and re-open if we need it. 👍
At the moment email tests are simply checking that the data being passes to sendemail module (which uses SES) is as we expect and that there is no error in the sending of the email. But we are not testing if emails bounce and if they appear to the recipient as they should do.
Is this level of testing sufficient and are there ways to test the appearance and bouncing of emails?