james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Closed] (JAMES-2267) Improve mailet integration test fluency
Date Fri, 05 Jan 2018 04:04:00 GMT

     [ https://issues.apache.org/jira/browse/JAMES-2267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tellier Benoit closed JAMES-2267.

> Improve mailet integration test fluency
> ---------------------------------------
>                 Key: JAMES-2267
>                 URL: https://issues.apache.org/jira/browse/JAMES-2267
>             Project: James Server
>          Issue Type: Improvement
>          Components: Mailet Contributions
>    Affects Versions: master
>            Reporter: Tellier Benoit
> We can significantly improve readability by:
>  - Providing some defaults for testing mailet configuration. Especially `postmaster`
and `threads` options
>  - Avoid calling `build` method. This can be done explicitly by the target method, and
result in less boiler plate and more compact code.
>  - We can factorize BCC mailet. Its configuration is compulsory, and it's content can
not be customized.
>  - We can get ride of various constants (factorize them and better rely on builders capabilities)
>  - We can avoid launching a full JMAP server when not needed
>  - SMTP and IMAP clients should be test rules. That way, no try with resource is needed.
>  - We can also clean some configuration there, some user/mailbox creation might also
not be needed.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message