Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : entityframeworkcore.contextbackedmock.moq

Allows you to create a mock DbContext (and mock DbSets) and have it backed by an actual DbContext. It's designed to work with the Microsoft InMemory provider (https://docs.microsoft.com/en-us/ef/core/miscellaneous/testing/in-memory) that is often used for testing. The InMemory provider is great for most cases however it doesn't do everything. That's where this library steps in. It has specific functionality to allow operations involving the FromSql extension to be included in your tests, as well as all of the benefits of using a mocking framework (e.g., the ability to verify method invocation).

Registry - Homepage - JSON
purl: pkg:nuget/entityframeworkcore.contextbackedmock.moq
Keywords: moq, EntityFrameworkCore, EntityFramework, InMemory, DbContext
License:
Latest release: over 124 years ago
First release: over 124 years ago
Last synced: 29 days ago

    Loading...
    Readme
    Loading...