jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: one time setup in server...
Date Sun, 14 Apr 2002 19:14:06 GMT
Just use some static variable in your XXXTestCase class.

-Vincent

> -----Original Message-----
> From: Pavan Aripirala Venkata [mailto:pvenkata@h5technologies.com]
> Sent: 28 March 2002 01:31
> To: Cactus Users List
> Subject: RE: one time setup in server...
> 
> 	I am also looking for ways to setup variables/objects just once,
> on the server end. Please let me know if you figureout something.
> 
> Pavan
> 
> 
> -----Original Message-----
> From: BALA KRISHNA [mailto:ebalki2002@yahoo.com]
> Sent: Tuesday, March 26, 2002 7:40 PM
> To: Cactus Users
> Subject: one time setup in server...
> 
> 
> 
> Hi,
> 
> How to do a one time setup for lot of tests in the
> server?
> 
> I am new and I might be wrong here..... but my
> understanding is that when I use TestSetup (returning
> a TestSetup wrapper from static suite method), it is
> running on the client. How to extend this to onetime
> setup on server?
> 
> Another related question is, how can I initialize a
> database connection only once for all tests and have
> access to it in all tests?
> 
> Thanks,
> balki
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy AwardsR
> http://movies.yahoo.com/
> 
> --
> To unsubscribe, e-mail:
> <mailto:cactus-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:cactus-user-help@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:cactus-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:cactus-user-
> help@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message