Top 20 NuGet mock Packages

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – th...
A mocking library that creates Microsoft.Extensions.Caching.Memory IMemoryCache system mocks using Moq.
.NET library to mock HTTP responses for HttpClient and verify request expectations with an experience inspired by Moq.
Test/mock (3rd party) code reliant on HttpClient, WebClient, HttpWebRequest and WebRequest.Create()
Utilities to streamline unit testing in Dynamics CRM 365 by faking the IOrganizationService against an In-Memory context which runs blazing fast.
A library for implementing the Command Pattern, providing of a set of base classes and an invoker class. Useful for abstracting data access and API calls as either queries (for read operations) or commands (for write operations).
A mocking library that creates LazyCache IAppCache system mocks using NSubstitute.
A dotnet commandline tool for WireMock.Net (A Lightweight Http Mocking Server for .NET)
LightMock is a simple mocking library that can be used on platforms that does not allow dynamic code generation.
A simple http server for using as a mock in test projects
FakeItEasy auto mocking integration for Stashbox.
Moq implementation for auto mocking constructor arguments
FakeItEasy implementation for auto mocking constructor arguments
LightMock.Generator: Source generator that generates mocks by provided interfaces, classes and delegates.
Builder allows to initialize one or more objects customizing the creation.
Utilities to streamline unit testing in Dynamics CRM 2011 by faking the IOrganizationService against an In-Memory context which runs blazingly fast.
Utilities to streamline unit testing in Dynamics CRM 2016 by faking the IOrganizationService against an In-Memory context which runs blazingly fast.
Base package for auto mocking constructor arguments
Modules that aid in writing concise and precise unit tests to keep applications durable and robust.
.NET library to mock HTTP responses for any HTTP client and verify request expectations with an experience inspired by Moq.