[
https://jira.codehaus.org/browse/SUREFIRE-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=286940#comment-286940
]
Quantum Mechanics commented on SUREFIRE-814:
--------------------------------------------
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.
> Parallel "both" setting does not execute classes in parallel
> ------------------------------------------------------------
>
> Key: SUREFIRE-814
> URL: https://jira.codehaus.org/browse/SUREFIRE-814
> Project: Maven Surefire
> Issue Type: Bug
> Components: Junit 4.7+ (parallel) support
> Affects Versions: 2.11
> Reporter: Quantum Mechanics
>
> jdk 1.6.0_22, windows XP
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira