OliverO2
OliverO2
One additional factor to explore: How do Gradle or JUnitPlatform distribute test classes to parallel processes? Assume we try to parallelize 100 test classes across 4 worker processes, with 97...
@mightyguava I've tried [your repro](https://github.com/mightyguava/kotest-bug-repro-tests-using-when/commits/main/), at 2fa1069070d7a0cb9282c02b3f075816e0a41f04. This is what I got: `./gradlew cleanJvmTest jvmTest` ``` > Task :jvmTest io.kotest.examples.mpp.UUIDJvmTest[jvm] > uuids should be in be type 4 format[jvm] PASSED...
The above tests ran on a machine with an Intel Xeon 4-Core E3-1225 v5. The interesting difference is that I still can find no `$WhenMappings` class files (and it is...
Some updates: 1. I found the `$WhenMappings` class file. It was there all the time, just IntelliJ decided to hide it in the project view I had been using. 2....
What happened is this: * There were 6 Kotest invocations by the Gradle test task via the JUnitPlatform API. * 5 of these were invocations with an explicit list of...
Related: https://github.com/gradle/gradle/issues/2669
I agree mostly with your conclusions, though loss of performance seems possible as well, depending on the scenario. Factors to consider are: 1. We have an edge case: * Resource-intensive...
> What is the behavior with maxParallelTasks = 1 (parallelization disabled)? Does Gradle pass all tests it found to LauncherDiscoveryRequest or does it omit selectors? It always passes all potential...
Could you try a local build of https://github.com/kotest/kotest/tree/oo2/spec-discovery, along with the following? ```kotlin tasks.named("jvmTest") { // ... systemProperty("KOTEST_DEBUG", "TRUE") systemProperty("kotest.framework.discovery.classpath.scanning.enabled", "false") } ```
Also works for me. Could reproduce the doubling of test executions via ```kotlin tasks.named("jvmTest") { // ... forkEvery = 1 } ``` With that, one process will always get an...