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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to