When I press Alt + Enter on a class name in IntelliJ (version 2017.2 on a Windows 10 machine) the Create Testoption is not listed. What can I do to get it there?  
My window looks like

And i was expecting something like 
It comes from the IntelliJ help page for creating tests.
Is there an option to add the Create Test dialog to the menu?
Default is Ctrl + Shift + T
or you can change it by entering the keymap menu, Ctrl + Alt + S to open up the settings, then keymap...

To enable this option, go to IDEA Settings -> Editor -> Intentions -> Java -> Declaration and select checkbox Create Test. Search in top left corner can help.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With