Hello,
I am trying to execute JUnit 5 tests in parallel using the maxParallelForks attribute without success, as the tests stubbornly continue to run in serial. I’ve also tried to use the max-workers attribute alongside maxParallelForks, but that didn’t work either.
Is this supposed to work (especially considering that the JUnit platform support has been added quite recently) and, if yes, can you point me to what am I doing wrong? My current configuration:
test {
useJUnitPlatform()
maxParallelForks = 4
testLogging {
events 'passed', 'skipped', 'failed'
}
reports {
html.enabled = true
}
}
Thanks in advance