Friday, April 25, 2003 04:51 AM
Its been some time since I have used JUnit but I thought setup was only called once when the TestCase was first started.
My setup seems to be called twice and caused a null reference in my second test.
Setup does not seem to complete the second time around before the test starts.
Is there anything I should do to make this only be executed once or whould I have a seperate setup method for each of my tests ?
Re: setup seems to be called for every test
Tuesday, May 27, 2003 11:04 AM
execute constructorfor each unit test doexecute setUpexecute testexecute teardownend;
Saturday, April 26, 2003 02:23 AM
Can you please elaborate on what you want to do?