sbp opened a new issue, #452: URL: https://github.com/apache/tooling-trusted-releases/issues/452
Our email testing currently depends on detecting the development environment and then bypassing SMTP during the tests, supplying mock values for anything that is needed subsequently. We need to test the actual SMTP transactions, and I suggest that we use [Mailpit](https://github.com/axllent/mailpit) for this. It adds an extra container as a dependency, but we're already making strong use of containers and Docker Compose, plus it's a fairly lightweight container. The basic plan would be to add Mailpit to our Docker Compose setups, and new mail relay options to ATR so that we can configure it to use Mailpit in testing. For simplicity we could just use a non-TLS connection to Mailpit, but that would require extra configuration. We can then actually send email even in test environments. We'll need to mock the threading data for the vote tabulator too, but I'm not sure whether this can be done separately or not. I would assume it can be done separately, but there may be some detail that prevents this. We'd need to add some kind of helper to both the Playwright and the e2e tests, but I'm not sure how to share the code between the two. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
