关于[Comparing .NET Mocking Libraries]的摘要:
There are quite a few different mocking libraries in .NET. Moq and NSubstitute seem to be by far the main ones I hear that developers use. I've used both of these in different projects, and really like them both. Whilst my preference leans towards NSubstitute, I'd be happy using either. Out of interest, I posted a Twitter poll to see what other people preferred, and the results and replies were really interesting!...
原文地址: https://www.danclarke.com/comparing-dotnet-mocking-libraries