Found 425 packages
Moq is the most popular and friendly mocking framework for .NET.
This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by Moq. To use it, add the AutoMoqCustomization to your Fixture instance. Read more at http://blog.ploeh.dk/2010/08/19/AutoFixtureAsAnAutomockingContainer.aspx
Library that provides methods that will help you with mocking Entity Framework Core. Easily mock DbSet and DbContext for unit testing with Moq.
An auto-mocking container that generates mocks using Moq
Moq extensions for Dapper methods.
A set of extension methods for mocking HttpClient and IHttpClientFactory with Moq.
Autofac extension for automocking and creation of mock objects in Moq.
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.
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.
Enables the Moq's Verify API over the *ILogger* extensions (LogInformation, LogError, etc).
Automock implementation for Moq using Ninject to create the objects under test.
Supports checking that Moq setups are executed in sequence.
HttpContextMoq is an implementation of AspNetCore.Http.HttpContext that stores a Mock instance and works as a proxy for the real Mock.
Contributed features and third-party integration for Moq.
Auto-mocking container
Testing helpers for using Moq with EntityFramework.
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
Extension methods for setupping mock values of Microsoft.Extensions.Configuration.IConfiguration.
Roslyn Diagnostic Analyzers for Unit Testing with Moq
A mocking library that creates Microsoft.Extensions.Caching.Memory IMemoryCache system mocks using Moq.