Top 20 NuGet moq 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 – tha...
Accelerates preparation of mocked structures for unit tests under xUnit2 by configuring AutoFixture data generation to use Moq. Gracefully handles recursive structures by omitting recursions.
Library that provides methods that will help you with mocking Entity Framework Core.
A mocking library that creates EntityFrameworkCore DbContext system mocks using an EntityFrameworkCore provider and Moq. Includes support for queries/keyless db sets, FromSqlRaw/FromSqlInterpolated, ExecuteSqlCommand/ExecuteSqlRaw/ExecuteSqlInterpolated, and async LINQ operations.
A mocking library that creates Microsoft.Extensions.Caching.Memory IMemoryCache system mocks using Moq.
A fluent expression builder that allows easy verification of ILogger Log* (LogDebug, LogInformation, LogError etc) invocations.
Smocks is a library for mocking the normally unmockable. It can mock static and non-virtual methods and properties, amongst others.
Automock implementation for Moq using Ninject to create the objects under test.
Extensions for verifying logging operations with Moq. This package was built from the source code at https://github.com/RockLib/RockLib.Logging/tree/09cf9f3980ecf0ffbffe17718085257d876f6a15
Assembly that provides assistance in testing Dapper methods, allows for Verify and Setup with sql and parameters. This version is based on original project for NetFramework: https://www.nuget.org/packages/Dapper.MoqTests