jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shay Thompson <sthom...@adobe.com>
Subject Re: Can I pass parameters to ServletTestCase ?
Date Tue, 06 Feb 2007 03:59:48 GMT

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



Dan.Doyle@cexp.com 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:jc.giardina@gmail.com] 
> 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: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
>   

-- 

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


Mime
View raw message