Hi,
I am new to
JUnit test cases. I am writing junit test case for one of the
java batch program.
I need to load data from database to heap memory in order to run the test case. Right now i am using setUp() method to do this, but i need to repeat this for all the test cases which increases the time of testing and some times i get the heap space error.
My question is, can i load all the data required once and keep it on heap till all the test cases gets completed?
I couldn't find any help on net in this regard. Have anybody faced this situation and is there any method to overcome this?
Thanks