Testing non-visual JavaBeans?

2002-06-20 Thread Rob Reis

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.

Thanks,

Rob 

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: Testing non-visual JavaBeans?

2002-06-20 Thread Eric Everman

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.
>
>Thanks,
>
>Rob
>
>__
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 


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