MockQueryable.EntityFrameworkCore 5.0.1

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 – that makes use of in-memory data.

No packages depend on MockQueryable.EntityFrameworkCore.

Fixed an issue with mocking result of IAsyncEnumerable from DbSet

.NET Standard 2.1

Version Downloads Last updated
7.0.4-beta 2 10/04/2024
7.0.3 0 09/02/2024
7.0.2 0 08/20/2024
7.0.1 0 03/07/2024
7.0.0 0 11/21/2022
6.0.1 0 03/28/2022
6.0.0 0 03/24/2022
5.0.2 0 03/24/2022
5.0.1 2 02/06/2022
5.0.0 0 11/12/2020
5.0.0-preview.7 0 07/28/2020
3.1.3 0 05/19/2020