On Mon, 2002-10-07 at 12:36, Peter Neubauer wrote:
> Hi,
> I'm trying to test turbine actions that need parameters from the pages.
> With EasyMock I have some success mocking the rundata interface.
> However, the question is how to best test these actions.
> 
> Is ti possible to add parameters to RunData, how?
> Should I go for Cactus test cases?
> 
> How do I get hold of a context object? Should that be mocked, too?
> 
> Is there anyone who has implemented testing actions with parameters?
> 
> Thanks for any help!
> 
> /peter
> 

Hi Peter, I use EasyMock to test my Turbine app without startinf the
servlet container. Right now I have tests that use various mocked
objects : RunData, ParameterParser, HttpSession, etc ...

This aproach is really useful to test actions.

-- 
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to