jeudi 19 janvier 2017

Configs Setting in App_Start not available for unit testing

I'm trying to create spec portions of my application using MSpec. One of the static classes that I'm using has a dependency on a class defined under my App_Start folder. The code does not get ran unless Startup.cs has been ran. How can I fix or get around this in Test ?

Aucun commentaire:

Enregistrer un commentaire