I have the following IntegrationTest project structure …

If i wish to use that test data 126.txt in an NUnit Test, how do I load that plain txt file data?
NOTE: The file is -linked- and I’m using c# (as noted by the image).
cheers 🙂
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.
You could specify in the properties of the file to be copied to the output folder and inside the unit test:
As an alternative you could embed this file as a resource into the test assembly and then: