views:

13

answers:

0

Hello all,

I have some unit tests which need to access some values depending on my own computer. For example, a test needs to access a file path, but this file path may vary on other testers' computers.

What I'm thinking is that I need to put these values into a config file which allows the testers to config on their own computers before running the tests.

This is kind like the .csproj.user file in a VS project.

I have some experience on the Settings class, however, I don't know how to use it in a test environment.

How can I achieve this?

Best regards, Zach