Well I've always used httpunit to test against an installation of the web
application.  I deploy the application on a development server, then run my
'acceptance/customer tests' which are just httpunit/junit style tests
against that box.

Maybe using cactus you could test it like you're thinking?  Cactus could
just deploy the web application in the local container.

=================================================================
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 10:13 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Testing Strategy for File Uploads?
> 
> 
> So I can just write a HTTPUnit style Junit testcase.  Then 
> start Turbine in
> my setUp method, and then just simulate the testcase the 
> HttpUnit uses to
> test the upload stuff?
> 
> Does anyone have a nice baseclass that my testcases that 
> require turbine to
> be running that I could look at?  Right now, my turbine 
> testcases each try
> and start fulcrum/torque/turbine in kinda weird behavior.  I 
> am using the
> latest of all three...
> 
> Eric
> 
> -----Original Message-----
> From: Brekke, Jeff [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 11:07 AM
> To: 'Turbine Users List'
> Subject: RE: Testing Strategy for File Uploads?
> 
> 
> I've used straight httpunit for testing file uploads.
> 
> =================================================================
> Jeffrey D. Brekke                                   Quad/Graphics
> [EMAIL PROTECTED]                              http://www.qg.com
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 10, 2002 8:40 AM
> > To: [EMAIL PROTECTED]
> > Subject: Testing Strategy for File Uploads?
> > 
> > 
> > Hi all,
> > 
> > I am currently trying to figure out how to test a file 
> upload Turbine
> > Velocity page and a file download Turbine Velocity page.  I 
> > was using Canoo
> > Webtest for much of my testing, but support for file 
> > upload/download testing
> > is missing.  Is this something where I would want to use 
> > Cactus or some
> > other servlet framework?  Any pointers/sample code would be much
> > appreciated!
> > 
> > Eric Pugh
> > 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to