TestableDbContext.Mock

Lightweight and easy-to-use package that simplifies the process of mocking Entity Framework Core DbContexts and DbSets for unit testing. It uses the Moq framework to create mock instances of DbContext and DbSet, allowing you to focus on writing testable code and ensuring the correctness of your data access layer. With its extension methods and fluent API, TestableDbContext.Mock makes it a breeze to set up and configure mock instances for your data context and entity sets.


Keywords
Moq, Mock, DbContext
License
MIT
Install
Install-Package TestableDbContext.Mock -Version 1.0.0

Documentation

TestableContext