mockqueryable.nsubstitute
Install Command
dotnet add package mockqueryable.nsubstitute --source https://registry.planfact.io/nuget/v3/index.json
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 tests – that makes use of in-memory data.
Author: Roman Titov
Versions (29 total)
+ 3 pre-release| Versions | Size |
|---|---|
|
10.0.13
|
— |
|
10.0.12
|
— |
|
10.0.8
|
— |
|
10.0.5
|
— |
|
10.0.2
|
— |
|
10.0.1
|
— |
|
10.0.0
|
— |
|
9.0.0cached
|
55.8 KB |
|
8.0.1
|
— |
|
8.0.0
|
— |
|
7.0.3
|
— |
|
7.0.2
|
— |
|
7.0.1
|
— |
|
7.0.0
|
— |
|
6.0.1
|
— |
|
6.0.0
|
— |
|
5.0.2
|
— |
|
5.0.1
|
— |
|
5.0.0
|
— |
|
3.1.3
|
— |