Hi I am using SpringJUnit4ClassRunner for my unit tests. It does a bunch of initialization like scanning jpa packages, creating a dataSource and binding it to my jndi environment. All of this takes time. I realize my first unit test function always takes a longer time than the others. I guess Jvm puts the initialization step when running the first step. I am doing some basic load tests and this situation affects me.
Is there a way to exclude this init step time from my first running test.