asked again and again and again and answered me last week and this week: :)
if you have your unit tests in another project (VS, created test project, class library, etc.), just create the application configuration for this unit test project and put the same configuration keys as in the project that works .
of course, I simplify, because you can absolutely tune in to these keys with specific test values, but as an initial copy what works, then configure it if you want to specify a different database, machine, etc ....: )
source share