Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2960

/server tests should rely on MailImpl, not FakeMail

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Mailet Contributions, tests
    • None

    Description

      While working on JAMES-2927 we tracked down some null values in Cassandra prepared statements. We found some possible null values present only within our tests but that production code completly prevents.

      This was due to the use of FakeMail in tests and of MailImpl in production code.

      Such diverging behaviours actually decreases the value of our test.

      We should perform /server tests with MailImpl in order to minimize the gap between production and tests.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: