You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started using this mail client, and it works like a charm! Thank you all for your hard work :)
One thing that really surprised me during integration testing is that the assertions are destructive. I.e., the following code works as expected when you've sent one e-mail.
# deliver emailMail.deliver_later()# email was delivered, so the inner assertion raisesassert_raise(ExUnit.AssertionError,fn->assert_no_emails_delivered()end)# however, now there are no more delivered emails, so this does not raiseassert_no_emails_delivered()
It would be nice if this behaviour was documented. Personally I believe that problems like ordering the assertions (see #433) would not exist if the assertions would not be destructive. But that would be a breaking change :)
Thanks again for your hard work, let me know if you want me to prepare a pull request for the docs.
Best,
Kai
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as "stale:discard". We are sorry that we haven't been able to prioritize it yet.
If this issue still relevant, please leave any comment if you have any new additional information that helps to solve this issue. We encourage you to create a pull request, if you can. We are happy to help you with that.
Hey there,
I just started using this mail client, and it works like a charm! Thank you all for your hard work :)
One thing that really surprised me during integration testing is that the assertions are destructive. I.e., the following code works as expected when you've sent one e-mail.
It would be nice if this behaviour was documented. Personally I believe that problems like ordering the assertions (see
#433) would not exist if the assertions would not be destructive. But that would be a breaking change :)
Thanks again for your hard work, let me know if you want me to prepare a pull request for the docs.
Best,
Kai
The text was updated successfully, but these errors were encountered: