Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-19 Thread Tibor Digana
> Subject: Re: Maven surefire plugin: parallel configuration not running > tests in parallel > In case of combining JUnit5 and Surefire/Failsafe, the configuration > parameters e.g. "parallel" and "threadCountClasses" are not bound to the > native JUnit parameters &qu

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-17 Thread Jay Crosley
plugin: parallel configuration not running tests in parallel In case of combining JUnit5 and Surefire/Failsafe, the configuration parameters e.g. "parallel" and "threadCountClasses" are not bound to the native JUnit parameters "junit.jupiter.execution.parallel.enabled&quo

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-17 Thread Tibor Digana
In case of combining JUnit5 and Surefire/Failsafe, the configuration parameters e.g. "parallel" and "threadCountClasses" are not bound to the native JUnit parameters "junit.jupiter.execution.parallel.enabled" because it was an agreement between Maven/JUnit teams and the solution became "by design".

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
On Tue, Feb 16, 2021 at 4:18 PM Jay Crosley wrote: > I take it back, the maven-failsafe-plugin works with the junit > configuration options you suggested. That was the one combination I hadn’t > tried. Woo hoo! > I should have mentioned: there are no other configuration settings necessary. Best

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
configuration not running tests in parallel On Tue, Feb 16, 2021 at 4:00 PM Jay Crosley wrote: > Thank you. That looked promising but alas, I get the same result. I tried > those with and without the other surefire configurations for running > parallel tests. I also tried (from browsing the web) th

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
On Tue, Feb 16, 2021 at 4:00 PM Jay Crosley wrote: > Thank you. That looked promising but alas, I get the same result. I tried > those with and without the other surefire configurations for running > parallel tests. I also tried (from browsing the web) the > maven-failsafe-plugin with the various

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
. From: Laird Nelson Date: Tuesday, February 16, 2021 at 2:56 PM To: Maven Users List Subject: Re: Maven surefire plugin: parallel configuration not running tests in parallel JUnit5 does this in a strange way and they don't make it obvious. Try a recipe like this: maven-surefire-p

Re: Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Laird Nelson
JUnit5 does this in a strange way and they don't make it obvious. Try a recipe like this: maven-surefire-plugin junit.jupiter.execution.parallel.enabled=true junit.jupiter.execution.parallel.mode.default=concurrent Best, Laird On

Maven surefire plugin: parallel configuration not running tests in parallel

2021-02-16 Thread Jay Crosley
I’m trying to get junit5 tests to run in parallel using the maven surefire plugin, as described on https://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html. Despite configuration that looks correct, I can’t get them to run in parallel. I’ll paste