When I try to create a Junit test for certain classes in my project nothing happens when I hit OK. IntelliJ also doesn't give me the option to select a destination folder. Any suggestions?
It is pretty simple . Just right click on the desired Folder -> Mark Directory as -> Test Source Root
Now for any Code, just right click on the class -> Go to -> Test -> Create New test .
Now click Ok, you will the test is created in the folder which you have marked as test Source Root.
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