IntelliJ keeps using JUnit to run tests even though Gradle is already configured to be the main test engine

已回答

Every time I tried to run a new test in IntelliJ, it keeps defaulting to JUnit even though I have already configured Gradle as the default test engine.

I'm on version 2022.3.3. IntelliJ is running within a WSL2 instance. I have tried restarting it multiple times. Has anyone run into this issue before?

1

Does the same issue occur in 2023.1 release? Can you reproduce it in a new project? Feel free to file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with a sample project to reproduce it.

0

请先登录再写评论。