MockQueryable.Moq 1.0.3

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. by Moq
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.

There is a newer version of this package available.
See the version list below for details.
Install-Package MockQueryable.Moq -Version 1.0.3
dotnet add package MockQueryable.Moq --version 1.0.3
<PackageReference Include="MockQueryable.Moq" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MockQueryable.Moq --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added DbSet support

Version History

Version Downloads Last updated
1.1.0 16,094 2/28/2019
1.0.4 8,666 1/29/2019
1.0.3 38,221 8/30/2018
1.0.2 27,660 1/17/2018
1.0.1 6,727 12/26/2017
1.0.0 263 12/26/2017