I have an ASP.NET MVC application that I'm using NUnit to write tests for. The NUnit GUI is unable to find the app.config when I run the test. My NUnit test project is located in the bin/debug folder along with a copy of the app.config file:
My NUnit project has the following settings:
<NUnitProject>
<Settings activeconfig="Default"
processModel="Default"
domainUsage="Default"
appbase="C:\Sandbox\HB2\HB2.UnitTests" />
<Config name="Default"
binpathtype="Auto"
configfile="app.config"
path="C:\Sandbox\HB2\HB2.UnitTests\bin\debug\">
<assembly path="bin\debug\HB2.UnitTests.dll" />
</Config>
</NUnitProject>
From several articles I've read I would think that NUnit should be able to find the app.config file, but it doesn't. What's wrong?