We have a setup where we use Visual Studio 2012 to run our nunit-based unit tests from our local dev environments.
However, we have observed the following pattern:
When running unit tests the first time after Visual Studio has been launched, the tests fail when reading from config-files.
When rerunning the failing unit tests they can read the values from config files just fine.
This is truly a little bit annoying so I was hoping for a bit of help here :-).
I looked at Problem in reading connection string from App.Config when using NUnit 2.5.2 , but since we run our unit tests directly in Visual Studio, there is no way for us to configure NUnit directly.