Moq 4.13.1

Moq is the most popular and friendly mocking framework for .NET.

Install-Package Moq -Version 4.13.1
dotnet add package Moq --version 4.13.1
<PackageReference Include="Moq" Version="4.13.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Moq --version 4.13.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

A changelog is available at https://github.com/moq/moq4/blob/master/CHANGELOG.md.

Showing the top 10 GitHub repositories that depend on Moq:

Repository Stars
Wox-launcher/Wox
Launcher for Windows, an alternative to Alfred and Launchy.
dotnet-architecture/eShopOnContainers
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET Core 3.0, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
AvaloniaUI/Avalonia
A multi-platform .NET UI framework
SignalR/SignalR
Incredibly simple real-time web for .NET
JamesNK/Newtonsoft.Json
Json.NET is a popular high-performance JSON framework for .NET
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
cefsharp/CefSharp
.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
aspnet/AspNetCore.Docs
Documentation for ASP.NET Core

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.13.1 2,183,048 10/19/2019
4.13.0 2,299,093 8/31/2019
4.12.0 4,178,341 6/20/2019
4.11.0 1,533,283 5/27/2019
4.11.0-rc2 3,320 5/27/2019
4.11.0-rc1 88,307 4/19/2019
4.10.1 11,713,088 12/3/2018
4.10.0 6,469,578 9/8/2018
4.9.0 3,961,467 7/13/2018
4.8.3 2,485,752 6/9/2018
4.8.2 6,203,074 2/23/2018
4.8.1 2,673,119 1/8/2018
4.8.0 736,824 12/24/2017
4.8.0-rc1 36,899 12/8/2017
4.7.145 3,775,538 11/6/2017
4.7.142 1,773,655 10/10/2017
4.7.137 443,902 10/3/2017
4.7.127 459,079 9/25/2017
4.7.99 3,543,620 7/17/2017
4.7.63 1,052,880 6/21/2017
4.7.58 57,782 6/20/2017
4.7.49 303,774 6/18/2017
4.7.46 27,094 6/18/2017
4.7.25 773,911 6/2/2017
4.7.12 160,247 5/30/2017
4.7.11 3,687 5/30/2017
4.7.10 761,116 5/6/2017
4.7.9 286,385 4/29/2017
4.7.8 1,122,381 3/26/2017
4.7.7 23,609 3/25/2017
4.7.1 1,105,776 2/28/2017
4.7.0 1,066,535 2/22/2017
4.6.62-alpha 4,630 2/21/2017
4.6.39-alpha 9,868 2/18/2017
4.6.38-alpha 628,918 8/20/2016
4.6.36-alpha 188,357 7/20/2016
4.6.25-alpha 87,777 6/6/2016
4.5.30 1,666,175 1/9/2017
4.5.29 794,968 12/10/2016
4.5.28 935,232 11/10/2016
4.5.23 748,685 10/11/2016
4.5.22 471,845 9/20/2016
4.5.21 1,028,223 8/12/2016
4.5.20 8,260 8/12/2016
4.5.19 57,620 8/10/2016
4.5.18 4,748 8/10/2016
4.5.16 467,735 7/18/2016
4.5.13 127,158 7/11/2016
4.5.10 386,156 6/21/2016
4.5.9 385,123 6/9/2016
4.5.9-alpha 8,324 5/22/2016
4.5.8 528,913 5/26/2016
4.5.7 6,137 5/26/2016
4.5.7-alpha 3,139 5/22/2016
4.5.6-alpha 3,248 5/22/2016
4.5.3 348,368 5/25/2016
4.5.0 140,395 5/24/2016
4.2.1510.2205 4,593,363 10/22/2015
4.2.1507.118 1,701,216 7/1/2015
4.2.1506.2515 84,672 6/25/2015
4.2.1506.2016 52,096 6/20/2015
4.2.1502.911 1,885,370 2/9/2015
4.2.1409.1722 1,316,033 9/17/2014
4.2.1408.717 660,167 8/7/2014
4.2.1408.619 23,505 8/6/2014
4.2.1402.2112 1,576,165 2/21/2014
4.2.1312.1622 587,372 12/17/2013
4.2.1312.1621 4,462 12/16/2013
4.2.1312.1615 5,031 12/16/2013
4.2.1312.1416 16,850 12/14/2013
4.2.1312.1323 4,260 12/14/2013
4.2.1312.1319 15,626 12/13/2013
4.1.1311.615 250,081 11/18/2013
4.1.1309.1617 388,930 9/16/2013
4.1.1309.919 245,842 9/9/2013
4.1.1309.801 9,566 9/8/2013
4.1.1309.800 4,147 9/8/2013
4.1.1308.2321 549,404 8/23/2013
4.1.1308.2316 5,641 8/23/2013
4.1.1308.2120 294,683 8/21/2013
4.0.10827 2,622,686 2/9/2011
3.1.416.3 100,059 2/9/2011