Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 293
Nati Avatar asked Oct 31 '22 10:10

Nati


1 Answers

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

like image 59
Nati Avatar answered Dec 30 '22 21:12

Nati