james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1619) Write tests for mail delivery
Date Fri, 11 Dec 2015 08:52:11 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052462#comment-15052462
] 

ASF GitHub Bot commented on JAMES-1619:
---------------------------------------

GitHub user chibenwa opened a pull request:

    https://github.com/apache/james-project/pull/20

    JAMES-1619 Unit tests for LocalDelivery mailet

    In this PR I present unit tests for LocalDelivery mailet. This mailet is used to deliver
mail received from the SMTPServer to the appropriate user mailbox.
    
    It is tested with :
    
    -   with no SieveScript
    -   with and without virtual hosting
    
    This (crucial) functionality was not tested before.
    
    This is a preliminary from JAMES-1620 : Proove JSIEVE integration in JAMES works


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chibenwa/james-project JAMES-1619

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/james-project/pull/20.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20
    
----
commit f7bd3bb14ae58662326c249599f0e7c6a72b1899
Author: benwa <benwa@minet.net>
Date:   2015-12-09T17:53:57Z

    JAMES-1619 Unit tests for LocalDelivery mailet
     - with no SieveScript
     - with and without virtual hosting

----


> Write tests for mail delivery
> -----------------------------
>
>                 Key: JAMES-1619
>                 URL: https://issues.apache.org/jira/browse/JAMES-1619
>             Project: James Server
>          Issue Type: New Feature
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: Trunk
>            Reporter: Tellier Benoit
>             Fix For: Trunk
>
>
> I think we should have a test scenario for testing local delivery.
> My idea is testing LocalDelivery mailet, with mocks.
> Acceptance criteria : shows a mail is well delivered for a user that does not have SIEVE
scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message