Can any body put some light that how should I implement multiple test in parallel with Multithreading so that I can achieve test result quickly. At the moment my code execute test one by one which kills a lot of time while testing.
public class Test{
@Test
public void test1(){ }
@Test
public void test2(){}
}
So far I have followed this link JUnit 4 TestRule to run a test in its own thread where my test can be executed in thread but one by one which doesn't serve my purpose. Any suggestion ??