Note that there are some explanatory texts on larger screens.

plurals
  1. POConfigurationManager.GetSection(sectionName) returns null while performing unit tests
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COI face Similar issue with test project and Sqlite each time I run the test project a new Sqlite database get created and that's not happening with the main project , so in order to test I had to create normal console application Instead of test project. I don't know if this information help or not some cases test project just not that good Especially when it comes to dealing with external resources What makes it even more bizarre that I face this issue with visual 2010 but when I upgrade to 2012 everything work just fine !!!
      singulars
    2. COi think you can only have one active config file and the frst one is the one used for all projects, when you have normal projects this is done but in test project it's not, so copy (merge) the web config to all projects and see if it works.
      singulars
    3. COSo you have an app.config in one unit test project, and other unit test projects are dependent on that app.config? That's not very sustainable. I'd suggest either replicating that mock app.config to each test project or going with the mock suggestion of @Ouarzy below. It also depends on what you are testing: that ConfigurationManager.GetSection() call or something else.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload