When i run a simple test on connection to DB check i receive an error in NUnit:
[Test]
public void TestConn()
{
string connectionString = Configuration
NB: if does not work try to add path to it, e.g. bin\Debug\ yourAssemblyName.dll.config
Your test project file yourAssemblyName.nunit will be updated.
And yes, be sure App.config in your test project match to what you access in test, i.e.
[Test]
public void TestConn()
{
var sss = ConfigurationManager.AppSettings["TestKey"];
}
App.config