When i run a simple test on connection to DB check i receive an error in NUnit:
[Test] public void TestConn() { string connectionString = Configuration
Man give a look at: http://nunit.net/blogs/?p=9
As him suggest I put a MyProjectTests.dll.config in project root and everything works.
MyProjectTests.dll.config
An example of my config file is:
And I'm using the simple: ConfigurationManager.AppSettings["TestKey"];
ConfigurationManager.AppSettings["TestKey"];