I am working as a trainee in Test Automation. I am working with creating Junit code with Eclipse and run using Eclipse. In that I am retriving the datas from excel sheet usi
You either need to close(), or end your program.
However you can run into confusing issues if you don't close the file as
It is best practice to always close your resources which you are finished with them, however I see unit tests as scripts which don't always have to follow best practice.