How do I mock objects in the new coreclr world?
|Added at||2016-01-11 11:01|
I have always been using Moq for mocking external dependencies while unit testing. Now that I am trying to make my code completely cross platform, I want to make my unit tests run on linux too and so I am targeting my project coreclr50.
The issue is I can't seem to find any mocking libraries that would enable me to mock on coreclr. LightMock.vNext has attempted to do it, but it requires creating mock classes manually which is not convenient.
I wonder how are people unit testing their MVC 6 controllers!