Out of curiosity, why do you have so much logic in servlets that you
need to test them?  Is your page transition logic that complicated?

I have found that by keeping all my business logic in session beans
(which are tested with JUnitEE, http://www.infohazard.org/junitee), my
servlets/JSPs stay pretty much paper-thin.  Simple functional testing is
all that is required, mostly just to make sure that the html looks good.

Or maybe I'm missing something.  What are you trying to accomplish with
your tests?

Jeff

>-----Original Message-----
>From: Eric Hodges [mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 05, 2001 12:32 PM
>To: Orion-Interest
>Subject: Question about automated testing with Orion
>
>
>I'm trying to set up some automated unit tests for our 
>servlets.  I'm using
>HttpUnit and JUnit, but the authentication in HttpUnit doesn't 
>work with
>Orion.  Does anyone out there have experience at this?  Is 
>there a better
>tool?  Some sort of trick?  I've been talking to the HttpUnit 
>folks, and
>they don't know what to do.  Thanks for any help.
>
>
>

Reply via email to