Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@apache.org Received: (qmail 22860 invoked from network); 16 Apr 2002 19:18:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Apr 2002 19:18:41 -0000 Received: (qmail 17564 invoked by uid 97); 16 Apr 2002 19:18:38 -0000 Delivered-To: qmlist-jakarta-archive-cactus-user@jakarta.apache.org Received: (qmail 17531 invoked by uid 97); 16 Apr 2002 19:18:38 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 17519 invoked from network); 16 Apr 2002 19:18:37 -0000 From: "Vincent Massol" To: "'Cactus Users List'" Subject: RE: one time setup in server... Date: Sun, 14 Apr 2002 20:14:06 +0100 Organization: OCTO Technology Message-ID: <00ef01c1e3e8$8f9ccba0$a5c8c8c8@octovma> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <20020327034018.55946.qmail@web21310.mail.yahoo.com> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bala, Your question triggered some thoughts for me ... I have started writing an email a week ago and actually started a proposal in my answer but I found that it would not work perfectly well and thus have gone back into research mode ... :-) For the moment the simplest way to achieve what you want would be by using static variables. Would that work for you ? Thanks -Vincent > -----Original Message----- > From: BALA KRISHNA [mailto:ebalki2002@yahoo.com] > Sent: 27 March 2002 03:40 > 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: unsubscribe@jakarta.apache.org> > For additional commands, e-mail: help@jakarta.apache.org> > -- To unsubscribe, e-mail: For additional commands, e-mail: