----- Original Message -----
From: "Charles Burdick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 4:58 PM
Subject: Re: Opening a JDBC Connection once for all tests?


> There are a few options:
>
> 1) There may be a way to use setUp() and tearDown() so that they are
> not run before and after every test.  (I'm sure Vincent can answer that

Don't be so sure ... :)

> more thoroughly.)  Maybe you can use a flag to indicate whether the
> connection already exists and therefore reuse it.
>

The only thing I can tell you is that I have seen this subject several times
on the egroups junit mailing list (http://www.egroups.fr/group/junit) but I
never paid attention to the solution as I've never had the chance to use
that type of construction.

Vincent.


Reply via email to