I have an ASP.Net MVC3 project that calls a WCF service to retrieve data. The WCF service, in turn, uses managers and repositories, etc. (In other library projects) to obtain the required data.
I applied Ninject both in a web project and in a WCF project. Since I used Nuget to install Ninject MVC3, he created a class in APP_START with a loader, webactivator, etc.
Now I want to write unit tests using the Microsoft testing environment, not NUnit, etc.
How do i get started? That is, what am I writing in unit test classes to use Ninject to provide mock interface implementations for web projects and wcf?
In the examples I saw, use the Moq extension, which seems complicated at first sight. I would rather go without Mok, if possible.
I would appreciate any links, examples, related answers, etc. Thanks
source share