- Right click on project then select new->directory. Create a new
directory and name it "test".
- Right click on "test" folder then select Mark Directory As->Test Sources Root
- Click on Navigate->Test->Create New Test
Select Testing library(JUnit4 or any)
Specify Class Name
Select Member
That's it. We can modify the directory structure as per our need. Good luck!