'Testing ASP app that uses app.config via TestServer

I am implementing integration tests using TestServer. I am using app.config to store configuration settings and using System.Configuration.ConfigurationManager to read them in StartUp class. But when I run test, ConfigurationManager in StartUp class can't read/find them (getting null values). Don't understand how to fix it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source