james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann" <bernd.fonderm...@googlemail.com>
Subject Re: [DISCUSSION] Include Unit Tests in regular build
Date Sat, 11 Nov 2006 00:31:13 GMT
On 11/11/06, Noel J. Bergman <noel@devtech.com> wrote:
> > Except for one thing ... a build takes a few seconds, even from scratch,
> and
> > the unit tests take anywhere from 3 minutes on up, especially the very
> slow
> > IMAP-related tests.
> To put this in perspective, on my normal working environment, the unit tests
> take almost 8 minutes to run.  If we put them into the standard build
> target, I'll end up ^C-ing out of the build and just being annoyed.
> On the nightly build server, a dual core Athlon 3800 X2, we went from 1
> minute to over 3 minutes.  I used that server today, since I did about 20
> builds while playing with the TCP/IP backlog test, and wasting an hour of my
> time waiting for the superfluous tests when I only wanted to run one (which
> happens after the dreadfully slow IMAP tests) was not something I enjoyed.
> And that was when I *wanted* to run a unit test --- but only one.

That is a limitation of monolithic build test round trip you are using
for ordinary-every-day development.
See the other part of this thread about running a single unit tests.

> I have no issue about adding the unit tests to the dist target.



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

View raw message