I have created 5 test cases in JUnit 4 and I was wondering is it possible to build a collection of 100 objects for my 5th test case with Annotations (i.e. @BeforeTest in TestNG), or other techniques without conflicting with my previous test cases.
I've done some research on the different annotations in Junit 4 http://www.mkyong.com/unittest/junit-4-vs-testng-comparison/, and because the functionality of @BeforeTest is not available in JUnit 4 but is completely suited to what I want, what other options are there?
Thanks!