Top 20 NuGet mock Packages

Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.
Lightweight StandAlone Http Mocking Server for .Net.
An abstract/virtual filesystem framework with many built-ins filesystems for .NET
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...
The most powerful free mocking library available for .NET developers.
ServiceFabric.Mocks contains many mocks and helper classes to facilitate and simplify unit testing of your Service Fabric Actor and Service projects.
Core package for MockQueryable extensions for mocking 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 t...
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 – tha...
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 – tha...
Supports checking that Moq setups are executed in sequence.
Testing layer for Microsoft's HttpClient library
Roslyn analyzer that helps to write unit tests using Moq mocking library by highlighting typical errors and suggesting quick fixes. Port of Resharper extension to Roslyn. Find the full list of detected issues at project GitHub page.
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
EntityFrameworkCore.Testing allows you to create an EntityFrameworkCore DbContext that you can use in your unit tests. It's easy to use (usually just a single line of code) with implementations for both Moq and NSubstitute. It extends the functionality of an existing database provider by proxying o...
A mocking library that creates LazyCache IAppCache system mocks using Moq.
Utilities to streamline unit testing in Dynamics CRM 365 by faking the IOrganizationService against an In-Memory context which runs blazing fast.
A C# class library that handles mocking, test data generation, and validation.
JSON and MediaTypeFormatter extensions for skwas.MockHttp.
EntityFrameworkCore.Testing allows you to create an EntityFrameworkCore DbContext that you can use in your unit tests. It's easy to use (usually just a single line of code) with implementations for both Moq and NSubstitute. It extends the functionality of an existing database provider by proxying o...
Moq auto mocking integration for Stashbox.