dovecot-testing
This is a port of tedious/DovecotTesting with a node interface and support for usage inside a vagrant
Install
git clone https://github.com/cozy/dovecot-testing
cd dovecot-testing
npm link
Use in JS
DovecotTesting = ; DovecotTesting imapOptions = user: "testuser" password: "applesauce" host: DovecotTesting port: 993 tls: true tlsOptions: rejectUnauthorized: false DovecotTesting
Use the CLI
Start a dovecot
dovecot-testing setup
Import a buggy email into the test suite (buggy emails PR very welcome) Example : import email UID#356 from [Gmail]/All messages into INBOX
dovecot-testing import imaps://aenario_at_gmail.com:password@imap.gmail.com:993 '[Gmail]/All messages' 356 INBOX
git add /resources/Maildir
git diff #review changes
git commit
Tests
PR Welcomes
License
MIT