james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@thought.co.uk>
Subject RE: Working on IMAPServer (and other things)
Date Sun, 06 Jan 2002 21:51:42 GMT

> -----Original Message-----
> From: Darrell DeBoer [mailto:lists@bigdaz.com]
> Sent: Sunday, January 06, 2002 9:18 PM
> To: James Developers List

> I'm allergic to manual testing :)
> As part of my IMAP work, I've developed a simple "protocol testing
> framework" (as JUnit tests), which allows tests to be defined as
> text files
> of the format:
> C: <client-request>
> S: <expected-server-response>
> with a few macros such as ${ignore} and ${rfcDate} to handle variable
> protocol elements.

Sounds good, could I hack them for smtp & pop?

> >
> > I guess that tests which run on a clean build, with default
> configuration,
> > would be the easiest start, otherwise we could end up bogged down in
> issues
> > of how to stop repository and mailet configuration errors obscuring bugs
> in
> > the servers & handlers?
> Agreed, although developers are likely to have hacked the config file for
> their own DNS settings anyway. What would be great is a way to use a
> developer-specific properties file to automatically override certain
> settings in the config file (or even better, an installer).

I like the installer idea, can we detect the end of the initial un-packing
of the app?

> > 2/ deliver to that account using SMTP
> > 3/ collect the mail via POP
> This would be great for a start. We probably want to test SMTP
> and POP on 2
> levels.
> 1) Test the protocol for consistency, completeness and RFC
> compliance. This
> could include issues such as handling different date formats,
> case-sensitivity etc.

I have a short list of these things but no real experience of building
tests, time to learn methinks..


To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>

View raw message