Re: Can I pass parameters to ServletTestCase ?

Shay Thompson <[email protected]>
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
Can you be a bit more specific on what the problem is you're having with 
running tests via the command line?  I run tons of tests using Cactus, 
all from the command-line using Ant.  
http://jakarta.apache.org/cactus/integration/ant/task_cactus.html



[email protected] wrote:
> If you are interested in passing parameters, take a look at this page,
> http://jakarta.apache.org/cactus/writing/howto_testcase.html, under Step
> 6. I haven't actually used this functionality.
>
> I am still having a problem running cactus tests from a JUnit
> TestRunner. The only test runner I can use at this point is
> ServletTestRunner. So, it is not looking like Cactus will be used if I
> can't resolve the problem of running cactus tests from the command line.
>
> I think this forum is sort of dead.
>
> Hope that helps,
> Dan
>
> -----Original Message-----
> From: Jean-Charles Giardina [mailto:[email protected]] 
> Sent: Wednesday, November 22, 2006 8:26 AM
> To: Cactus User
> Subject: Can I pass parameters to ServletTestCase ?
>
> Hi,
>
> Can I pass URL parameters to a ServletTestCase ?
> I want to test more and more value with the same test method.
> I don't want to recompile to change value.
>
> I want to use an URL like :
>   http://localhost/ServletTestRunner?suite=my.tests.MyTest&foo=bar
> where "foo" is the parameter name and "bar" is the parameter value.
>
> Thks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>   

-- 

If you apply Ohms Law, e=mc2, to the hypotenuse and add to that a catalyst consisting of a set of struts and a gigahertz, you will theoretically arrive at an answer yesterday...

Shay Thompson - Lead Computer Scientist
Adobe Systems, Inc. - Titan Core QE 
Voice: x34728 or 612.251.5415
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.