> 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
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
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".
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
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
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
.
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
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
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