groupe-sii / ogham

Sending email, sms or whatever is a piece of cake
https://groupe-sii.github.io/ogham/
Apache License 2.0
21 stars 15 forks source link

Use same API for testing anything #96

Open aurelien-baudet opened 4 years ago

aurelien-baudet commented 4 years ago

Currently OghamAssertions only provide assertions for JavaMail and SMPP. However, it could be great if the same code for checking adapts to any other sender implementation. For example, testing an email sending with SendGrid should hide WireMock complexity and let developer use same code as for JavaMail to ensure that email is correctly received.

If this is done, code for checking in classpath testing will be easier to maintain.