You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Robert Burrell Donkin <ro...@gmail.com> on 2007/07/25 21:21:45 UTC

[IMAP] Recycling integration tests

http://svn.apache.org/repos/asf/james/server/tags/pre-v2and3-merger-trunk/proposals/imap2/
contains some good integration tests for IMAP. i'd like to pull these
out so that they can be used to test the current implementations. if
anyone knows of any issues with this, please jump in.

(thanks to andrew for pointing this out a long time ago)

- robert

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


Re: [IMAP] Recycling integration tests

Posted by Robert Burrell Donkin <ro...@gmail.com>.
On 7/25/07, Stefano Bagnara <ap...@bago.org> wrote:
> Robert Burrell Donkin ha scritto:
> > http://svn.apache.org/repos/asf/james/server/tags/pre-v2and3-merger-trunk/proposals/imap2/
> >
> > contains some good integration tests for IMAP. i'd like to pull these
> > out so that they can be used to test the current implementations. if
> > anyone knows of any issues with this, please jump in.
>
> I remember I looked at the smtp tests (only) in past and I decided to
> ignore them as we already had tests for the same things.
>
> If the IMAP tests do not test the same things we already test now then
> +1 to bring back them. Otherwise having multiple tests for the same
> thing is not useful.

these are integration tests with several neat features. in particular,
they are based on a clever design using scripts. might be suitable for
postage.

> I think that comparing coverage before and after the tests could help, too.

the integration tests used ATM are based on a partially completed IMAP
client and are very basic. i'm working on a new improved IMAP client
library (using MINA) but this is not a small undertaking.

i hadn't considered this style of testing before but now i see it, i
like it. the advantage is that i have plenty of real input and output
which would be very easy to script.

- robert

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


Re: [IMAP] Recycling integration tests

Posted by Stefano Bagnara <ap...@bago.org>.
Robert Burrell Donkin ha scritto:
> http://svn.apache.org/repos/asf/james/server/tags/pre-v2and3-merger-trunk/proposals/imap2/
> 
> contains some good integration tests for IMAP. i'd like to pull these
> out so that they can be used to test the current implementations. if
> anyone knows of any issues with this, please jump in.

I remember I looked at the smtp tests (only) in past and I decided to
ignore them as we already had tests for the same things.

If the IMAP tests do not test the same things we already test now then
+1 to bring back them. Otherwise having multiple tests for the same
thing is not useful.

I think that comparing coverage before and after the tests could help, too.

Stefano


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