Stefan Zoerner wrote:
Alex Karasulu wrote:
Hi,
The number of integration tests are growing large (we have hundreds)
as we get more coverage for the server and the functionality
increases. These tests start and stop apacheds and clean out working
directories on each run so they can take a while especially if a test
case has lots of tests in it.
In some cases it may also be an option to simply reduce the number of
test methods within the test classes.
For instance we have some tests with several methods, each of them with
one search operations. If we combine them and add good assertion
messages for each step, we will reduce the run time without loosing
much. The question is whether it is really necessary to have a fresh
server for each operation.
Good point I think you're right about that. There is a lot we can
consolidate and this will speed things up considerably by avoiding the
need to shutdown, clean up, and restart ads.
Alex
begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
MSN: [EMAIL PROTECTED]
Yahoo!: alexkarasulu=0D=0A=
IRC: aok=0D=0A=
PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard