On 7/25/07, Stefano Bagnara <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]