I'm highly interested in this. We are using HttpUnit, and it works more or less ok, but it is really slow. I think that this slowleness is the reason we don't have 100% coverage (not even 50%). Not having a good test suite makes me nervous.
I'l try to get 100% by the end of January, when things calm down, but I'd love to know if you have tried HttpUnit and why did you choose htmlunit. BTW, do you know about a site or forum or some other place where people share experiences and best practices testing database backed web applications? It's not a trivial problem, IMVHO. Thanks Pedro El Mér, 21-12-2005 a las 12:02 -0500, Dan Adams escribió: > I use normal junit and some mock objects for testing my services (in my > case they are spring beans) and i use htmlunit for testing my pages. > using htmlunit has worked out great. we have been able to do tdd very > easily with htmlunit and have maintained ~100% code coverage (it's > actually 99.8% or something because there are some exceptions that are > really hard to reproduce like with concurrency and such). > > On Wed, 2005-12-21 at 15:49 +0100, Ron Piterman wrote: > > Hi, > > Wanted to ask how you guys test your pages/components? > > Cheers, > > Ron > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
