title: WAP + NUnit + WebConfigurationManager Pin
body: <p>I just started using NUnit to write test cases for my asp.net web application project.</p>
  
  <p>Some of the code written to access database values fetches the ConnectionString from a "section" defined under "configSections" of web.config file.</p>
  
  <p>This works fine during the normal execution of the project on a web browser. But when I access the same method through the test case, WebConfigurationManager.GetSection() always return null.</p>
  
  <p>Initially I was also not able to access AppSettings section of web.config but it got solved when I copied the web.config file into the BIN folder. But still not able to fetch the "section" inside "ConfigSection".</p>
  
  <p>Kindly suggest.</p>