chadxz / imap-simple

Wrapper over node-imap, providing a simpler api for common use cases
MIT License
243 stars 80 forks source link

POC for a integration test server #59

Closed synox closed 5 years ago

synox commented 5 years ago

This is a simple poc to run a test server for integration tests.

However it depends on https://github.com/andris9/hoodiecrow, which is deprecated and there is no replacement. You can ignore/refuse it.

chadxz commented 5 years ago

This is cool man. I'm glad you're thinking about testing. I share your concern about hoodiecrow being deprecated. I assume you looked into other options. Why did you decide to go with hoodiecrow anyway? I'm not saying no at this point... I'd like to understand where you're coming from with that decision.

synox commented 5 years ago

It was just a 20min try&error test to see if it is doable, so I did not do very much research. Of all options I found hoodiecrow is the only complete, popular and no-db solution I found.

If we add the mails with imap-simple.append(), we might just dropin-replace it with something else if something comes up.

chadxz commented 5 years ago

Okay, that makes sense!