Answer the question
In order to leave comments, you need to log in
How to access web.config from unit tests for asp.net mvc project?
Hello.
I'm trying to create unit tests for my asp.net mvc3 project. I ran into a problem: the methods under test cannot access the web.config file (the settings inside it), because the classes are created in the test environment.
Question: how to make available what is in web.config in a unit test.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question