Firstly , just go and open the currentFile.java , do a left click on currentFile.java , there you are having an option as source action select that and select the all the methods for running and then go to the OK option. Ultimately a test case file for your currentFile.java will be produced in the same window as currentFileTest.java.