tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Everman <>
Subject Re: Testing non-visual JavaBeans?
Date Thu, 20 Jun 2002 21:15:37 GMT
For testing beans, I use JUnit.  It makes things fairly simple.

It can get complex if your 'beans' actually have Servlet ties-ins such as 
references to httpSessions, contexts, etc.  But if you've got functionality 
that can be tested without any sort of dependence on a web container, JUnit 
is the way to go.

Eric Everman

At 03:54 PM 6/20/2002, you wrote:
>Is there a way to test a non-visual bean which I
>intend to use for JSP, Servlets, etc.? Do I have to
>use the BeanBox? Can I use something like JUnit? I
>want to make sure my bean works correctly before
>trying to call it from JSP.
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message