Web.Config issue with Unit Testing

Posted by LeeHull on Stack Overflow See other posts from Stack Overflow or by LeeHull
Published on 2010-04-29T04:52:52Z Indexed on 2010/04/29 4:57 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

I am trying to unit test a lot of my MVC controllers, but unfortunately it keeps failing because it needs a lot of settings from the web.config..

Which I copied over but does not read it, what I'm needing is the membership and rolemanager but I can't just add it to the app.config either, which I've been able to get the connection strings and application settings to work with..

Any idea how to get the web.config to work with MSTest?

© Stack Overflow or respective owner

Related posts about mstest

Related posts about mvc