Файли
openidea/java/junit-runner/build-dependencies.sha256
T
LU XIANGRUIтаwildcatDownstairs 8c23c589ca feat(run): run JUnit 5 tests of Maven modules without Maven (#5571)
Gutter Run / Debug of JUnit 5 tests in Maven modules now starts OpenIDEA's own JUnit Platform runner (java/junit-runner, built from the in-tree source and embedded by ide-sdk) on the language server's test classpath instead of mvn test, as IDEA runs Maven tests unless build/run actions are delegated to Maven. The runner reports TeamCity service messages to the existing test tree; Debug and Rerun Failed Tests reuse it. The launcher jar of the engine's version comes from the classpath, else from the engine's Maven/Gradle repository folder, else is downloaded once from Maven Central.

The runner JVM gets the module's Surefire configuration like IDEA's MavenJUnitPatcher: argLine (with @{...} late replacement), systemPropertyVariables / systemProperties, environmentVariables, workingDirectory, additionalClasspathElements and classpathDependencyExcludes, read from the cached effective POM (else the module POM); the console lists what was applied.

Settings › Build Tools › Maven › Run tests using: OpenIDEA (default) or Maven (the previous mvn test -Dtest=... path). JUnit 4-only, TestNG and Gradle tests keep their current runners.

Closes #5553

Co-authored-by: wildcatDownstairs <[email protected]>
2026-11-25 13:15:08 +08:00

9 рядки
1.1 KiB
Plaintext

b4727459201b0011beb0742bd807421a1fc8426b116193031ed87825bc2d4f04 org/junit/platform/junit-platform-launcher/1.11.3/junit-platform-launcher-1.11.3.jar
0043f72f611664735da8dc9a308bf12ecd2236b05339351c4741edb4d8fab0da org/junit/platform/junit-platform-engine/1.11.3/junit-platform-engine-1.11.3.jar
be262964b0b6b48de977c61d4f931df8cf61e80e750cc3f3a0a39cdd21c1008c org/junit/platform/junit-platform-commons/1.11.3/junit-platform-commons-1.11.3.jar
b509448ac506d607319f182537f0b35d71007582ec741832a1f111e5b5b70b38 org/apiguardian/apiguardian-api/1.1.2/apiguardian-api-1.1.2.jar
48e2df636cab6563ced64dcdff8abb2355627cb236ef0bf37598682ddf742f1b org/opentest4j/opentest4j/1.3.0/opentest4j-1.3.0.jar
5d8147a60f49453973e250ed68701b7ff055964fe2462fc2cb1ec1d6d44889ba org/junit/jupiter/junit-jupiter-api/5.11.3/junit-jupiter-api-5.11.3.jar
e62420c99f7c0d59a2159a2ef63e61877e9c80bd722c03ca8bf3bdcea050a589 org/junit/jupiter/junit-jupiter-engine/5.11.3/junit-jupiter-engine-5.11.3.jar
0f798ebec744c4e6605fd4f2072f41a8e989e2d469e21db5aa67cf799c0b51ec org/junit/jupiter/junit-jupiter-params/5.11.3/junit-jupiter-params-5.11.3.jar