NUnit: configuration settings cannot be found
I've written an NUnit test project against an ASP.Net project. The code being tested cannot find the configuration values (in Web.config) when invoked from my test project. What is the right way to provide these configuration settings so m开发者_开发知识库y tests will run?
Take a look on NUnit's documentation about Configuration Files - it's pretty good explained how to handle your case.
You can create an app.config file for your test project. Just put the configuration values you need in here.
精彩评论