576 packages tagged with “mock”
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 tests – that makes use of in-memory data.
Lightweight Http Mocking Server for .NET, inspired by WireMock from the Java landscape.
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
Library that provides methods that will help you with mocking Entity Framework Core. Easily mock DbSet and DbContext for unit testing with Moq.
Shared interfaces, models, enumerations and types.
Minimal version from the lightweight Http Mocking Server for .NET
Lightweight StandAlone Http Mocking Server for .Net.
ServiceFabric.Mocks contains many mocks and helper classes to facilitate and simplify unit testing of your Service Fabric Actor and Service projects.
Adds relational support to the Microsoft EntityFrameworkCore in-memory database provider by mocking relational operations. EntityFrameworkCore.Testing v1.x = EntityFrameworkCore 2 (2.1.0+) EntityFrameworkCore.Testing v2.x = EntityFrameworkCore 3 EntityFrameworkCore.Testing v3.x = EntityFrameworkCore 5 EntityFrameworkCore.Testing v4.x = EntityFrameworkCore 6 EntityFrameworkCore.Testing v5.x = EntityFrameworkCore 7 EntityFrameworkCore.Testing v8.x = EntityFrameworkCore 8 EntityFrameworkCore.Testing v9.x = EntityFrameworkCore 9 EntityFrameworkCore.Testing v10.x = EntityFrameworkCore 10
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.
Utilities to streamline unit testing in Dynamics CRM 365 by faking the IOrganizationService against an In-Memory context which runs blazing fast.
Provides framework APIs and Attributes for Microsoft Fakes. To generate Fakes code, one needs a VS Enterise install. Additional details can be found at http://aka.ms/MicrosoftFakes.
Supports checking that Moq setups are executed in sequence.
The most powerful free mocking library available for .NET developers.
An abstract/virtual filesystem framework with many built-ins filesystems for .NET
A mocking library that creates Microsoft.Extensions.Caching.Memory IMemoryCache system mocks using Moq.
A library to help with unit/accpetance tests of code that relies on an external HTTP service, by allowing you to easily mock one.
The .NET Bogus autogenerator
C# Fluent API for interacting with Mock-Server
SystemWrapper is a library that wraps .NET classes for system resources like System.IO.FileInfo, System.Reflection.Assembly, and many other classes so you can easily mock them.
A light abstraction around Dapper and Dapper.Contrib that also maintains the behavior IDbConnection. This library facilitates a loosely coupled design and unit testing.
NMock3 is a Mocking framework that uses lambda syntax to setup expectations and test interactions between classes and interfaces.
NUnit.Mocks was originally developed for internal use in NUnit's own tests, although we no longer use it for that purpose. In addition, it has been useful as a teaching tool, allowing users to gain familiarity with mocking techniques before moving on to more serious frameworks. For production use, we recommend you install a full-featured mock object framework. The NUnit project now uses NSubstitute and NUnit.Mocks is no longer being developed.
A mocking library that creates LazyCache IAppCache system mocks using Moq.
Utilities to streamline unit testing in Dynamics CRM 2011 by faking the IOrganizationService against an In-Memory context which runs blazingly fast.