mavenintellij-ideajunitjunit-runner

IntelliJ runs unit tests with Maven instead of JUnit


I have some Unit tests, that when I try to run, it automatically creates Maven run/debug configuration, instead of JUnit (the integrated IDEA tab).

For some tests it does use JUnit run\debug configuration and manually - I can create both Maven and JUnit.

How do I make JUnit to be the default test runner ?


Solution

  • The problems is that I had maven runner plugin installed, causing all my tests to run with Maven