I would like to make a test that reads a .java file in my Java project and converts it to a String. How can I do this inside a JUnit test (no command line args)?
I would like to make a test that reads a .java file in my
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Retrieved the current working dir and navigated from there to the java file.