jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: junit question
Date Wed, 14 Jan 2004 06:59:10 GMT
Hi Ashis,

The constructor is called for each test! :-)

You need to wrap your test suite in a TestSetup. Check the JUnit FAQ for
more details.

Thanks
-Vincent

> -----Original Message-----
> From: Pujari, Ashis [mailto:ashis.pujari@cbm.com]
> Sent: 13 January 2004 23:48
> To: Cactus Users List
> Subject: RE: junit question
> 
> 
> 
> Sorry about that - I will just use the constructor.
> 
> -----Original Message-----
> From: Pujari, Ashis
> Sent: Tuesday, January 13, 2004 5:40 PM
> To: cactus-user@jakarta.apache.org
> Subject: junit question
> 
> Is there any method that gets called when the TestCase class is
> instantiated.
> Setup and teardown are called at every test case call.  I want
something
> like an init method.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message