Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Add testing against real services #207

Open
Slamdunk opened this issue Aug 10, 2022 · 0 comments
Open

[CI] Add testing against real services #207

Slamdunk opened this issue Aug 10, 2022 · 0 comments

Comments

@Slamdunk
Copy link
Contributor

This library has never been tested in CI over external services for Storage protocols, nor for SMTP one.

ddeboer/imap for example sets up a Dovecot instance to test IMAP calls.

Dovecot would be useful since it supports both IMAP and POP3, and many authentication mechanism, including for example the XOAUTH2 one (https://doc.dovecot.org/configuration_manual/authentication/oauth2/) that is under development (see #197, #200), and that could be mocked instantiating a temporary OAuth2 server like https://oauth2.thephpleague.com/

Mail system is a beast, and while I know that setting up a real mail server in CI may introduce unwanted bugs and maintenance burdens, right now this library is basically untested because we lack a proper test infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant