Re: Help with Cactus StrutsTestCase

2004-08-27 Thread Duncan Mills
Leandro - a good article has just been published on the Oracle Technology Network on using JUnit, Cactus and StrutsTestCase - the setup portions relate to setting up these up with JDeveloper, but the basic flow and tutorial portions provide a good kickstart even if you use another IDE - check

Re: Help with Cactus StrutsTestCase

2004-08-27 Thread Leandro Melo
Thanks Duncan, i`ll check it out! --- Duncan Mills [EMAIL PROTECTED] escreveu: Leandro - a good article has just been published on the Oracle Technology Network on using JUnit, Cactus and StrutsTestCase - the setup portions relate to setting up these up with JDeveloper, but the basic

Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
I am trying to write test cases for my Struts app, but can't seem to figure it out. I have used the examples, but I don't seem to get the correct outcome when I run them. I am using LookupDispatchAction's exclusively. So here is the method I am testing: == public

Re: Help with Cactus StrutsTestCase

2004-08-26 Thread Leandro Melo
Doesn`t know the answer, where can i find a good tutorial do test struts applications? Is it true that for good testing the actions must delegate their work to POJOs ?? --- [EMAIL PROTECTED] escreveu: I am trying to write test cases for my Struts app, but can't seem to figure it out. I

Re: Help with Cactus StrutsTestCase

2004-08-26 Thread Leandro Melo
Sorry for the confusing sentence. I meant to say that i don`t know the answer, but i`d like to use the opportunity and also ask a basic question. Where can i find a good tutorial do test struts applications? Is it true that for good testing the actions must delegate their work to POJOs ??

RE: Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
Users Mailing List Subject: Re: Help with Cactus StrutsTestCase Doesn`t know the answer, where can i find a good tutorial do test struts applications? Is it true that for good testing the actions must delegate their work to POJOs ?? --- [EMAIL PROTECTED] escreveu: I am trying to write test

Re: Help with Cactus StrutsTestCase

2004-08-26 Thread Bill Siggelkow
Check out Struts The Complete Reference by James Holmes -- I hear the chapter on Testing absolutely ROCKS ;) Bill Siggelkow Leandro Melo wrote: Sorry for the confusing sentence. I meant to say that i don`t know the answer, but i`d like to use the opportunity and also ask a basic question.

Re: Help with Cactus StrutsTestCase

2004-08-26 Thread Bill Siggelkow
Is your LookupDispatchAction implementing getKeyMethodMap()? [EMAIL PROTECTED] wrote: I am trying to write test cases for my Struts app, but can't seem to figure it out. I have used the examples, but I don't seem to get the correct outcome when I run them. I am using LookupDispatchAction's

RE: Help with Cactus StrutsTestCase

2004-08-26 Thread Mick.Knutson
)keys.nextElement(); map.put( key, methods.getString( key ) ); } return map; } -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Bill Siggelkow Sent: Thursday, August 26, 2004 10:53 AM To: [EMAIL PROTECTED] Subject: Re: Help with Cactus StrutsTestCase

Re: Help with Cactus StrutsTestCase

2004-08-26 Thread Bill Siggelkow
: Re: Help with Cactus StrutsTestCase Is your LookupDispatchAction implementing getKeyMethodMap()? [EMAIL PROTECTED] wrote: I am trying to write test cases for my Struts app, but can't seem to figure it out. I have used the examples, but I don't seem to get the correct outcome when I run them. I am