I always used Moq for mocking external dependencies during unit testing. Now, when I try to make my code completely cross-platform, I want my unit tests to run on Linux as well, and so I am aiming for my coreclr50 project.
The problem is that I cannot find any mocking libraries that will allow me to make fun of on coreclr. LightMock.vNext tried to do this, but this requires creating the mock classes manually, which is not convenient.
I wonder how people test their MVC 6 controllers?
source share