On Tue, 21 Aug 2001, Berin Loritsch wrote: > Peter Donald wrote: > > > > On Tue, 21 Aug 2001 22:58, Berin Loritsch wrote: > > > Changing the "fork" attribute to false causes the RMI Context tests to > > > fail. This is due to the fact that it is trying to bind to a port that is > > > already open. > > > > Hmm .. I thought I wrote it properly ;/ Oh well I will try to fix that so we > > can do it in JVM. > > The biggest conceptual change is that setUp() and tearDown() is called around > EACH test*() method. Testlet had one initialize() and one dispose() that was > called for the life of the testlet class. JUnit calls setUp() and tearDown() > for each test method. > > There is a way to do once only initialization/teardown, but it is a little > convoluted--and should be done within our AvalonTestCase.
I'm +1 for a one time initialize/dispose procedure. I haven't looked into the code of the TestCase class but can we overrite some methods to achieve it using a isInitialized variable or so? Giacomo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
