Sorry I messed up in the description field. Here is a description:
I have been trying the several settings for running junit tests in parallel. I am using
surefire-junit47 version 2.11. I do not see any difference in the operation of "both" or "methods" option. I have 5 classes each with one @Test. When I run them using classes, all 5 get launched in parallel. When I use methods, the tests in each class is run in parallel, but the classes are executed in sequence.
I was expecting that when I use both, that the classes and the methods will be initiated in parallel, but this is not the cases, the classes are executed in sequence. If I have 2 @Test methods to one of the test classes, I can clearly see the methods being executed in parallel.
I am running against a Selenium grid environment, so I can see when tests are running in parallel. I also log the threads at runtime.