I am writing test cases for my web api project and using nunit test framework. I am facing problem during config load in main project when I comes through test project.
string folderPath = HttpContext.Current.Server.MapPath("~/StartupLogs");
I am getting null when I comes through test project but If comes through actual project it return path. Please suggest how can I get this path when I comes through test project in c#.