Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running unit tests right click context item not visible with IntelliJ 12

I downloaded the latest intellij 12 release, and now I don't see that right click context menu item to run my unit test for the current file.

Where is that option now?

like image 817
Blankman Avatar asked Dec 08 '12 16:12

Blankman


2 Answers

Just had the same issue in a maven project - I had forgotten to mark the test class as public which resolved it immediately.

like image 189
MattCurtis Avatar answered Nov 09 '22 07:11

MattCurtis


Try to add junit plugin. Preferences -> plugins -> junit.add junit plugin

like image 29
Joshua Avatar answered Nov 09 '22 06:11

Joshua