Files
openide/plugins/junit
Viktors Jengovatovs 5767a7d4e5 Making junit plugin using default test runner in case Spock testing framework is detected in classpath.
Currently, when spock jar is in classpath, for example `spock-core-2.3-groovy-4.0.jar`, the IDE junit plugin detects PSI from the jar `org.junit.platform.engine.TestEngine` with value `org.spockframework.runtime.SpockEngine`. By that the IDE forces to use Junit5.

In case a project uses Spock with combination of Junit4 such detection logic makes junit4 test detection impossible when the tests are performed per package or project.

Withing the fix the IDE detects Spock and Junit4 tests simultaneously.

closes https://github.com/JetBrains/intellij-community/pull/2838

GitOrigin-RevId: 20d138df183f8dfdb3121986498b080d4a61a171
2024-08-29 14:24:47 +00:00
..