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 my tests will run?
A:
You can create an app.config file for your test project. Just put the configuration values you need in here.
Pete McKinney
2010-01-15 17:40:40
+1
A:
Take a look on NUnit's documentation about Configuration Files - it's pretty good explained how to handle your case.
Bolek Tekielski
2010-01-19 08:36:20