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...
More information
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 –...
More information
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 –...
More information
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 –...
More information
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.
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 –...
More information
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 =...
More information
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.
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,...
More information