MockQueryable.Moq 3.1.2
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.
No packages depend on MockQueryable.Moq.
Restore support for netstandard2.0
.NET Standard 2.0
- MockQueryable.Core (>= 3.1.2)
- Moq (>= 4.8.0)
| Version | Downloads | Last updated |
|---|---|---|
| 11.0.0 | 1 | 11/19/2026 |
| 10.0.13 | 2 | 11/01/2026 |
| 10.0.12 | 10 | 09/14/2026 |
| 10.0.8 | 32 | 06/10/2026 |
| 10.0.5 | 36 | 03/21/2026 |
| 10.0.2 | 24 | 02/06/2026 |
| 10.0.1 | 21 | 11/25/2025 |
| 10.0.0 | 37 | 11/25/2025 |
| 9.0.0 | 31 | 10/16/2025 |
| 8.0.1 | 32 | 10/16/2025 |
| 8.0.0 | 38 | 09/14/2025 |
| 7.0.4-beta | 38 | 10/05/2024 |
| 7.0.3 | 34 | 11/30/2025 |
| 7.0.2 | 35 | 10/04/2024 |
| 7.0.1 | 49 | 03/13/2024 |
| 7.0.0 | 51 | 01/09/2024 |
| 6.0.1 | 20 | 01/08/2024 |
| 6.0.0 | 18 | 01/08/2024 |
| 5.0.2 | 480 | 12/11/2023 |
| 5.0.1 | 15 | 01/08/2024 |
| 5.0.0 | 26 | 01/08/2024 |
| 5.0.0-preview.7 | 21 | 01/09/2024 |
| 3.1.3 | 13 | 01/09/2024 |
| 3.1.2 | 26 | 01/08/2024 |
| 3.1.1 | 31 | 01/08/2024 |
| 3.0.2 | 30 | 01/09/2024 |
| 3.0.1 | 15 | 01/08/2024 |
| 3.0.0 | 13 | 01/08/2024 |
| 1.1.0 | 32 | 01/08/2024 |
| 1.0.4 | 21 | 01/09/2024 |
| 1.0.3 | 35 | 01/09/2024 |
| 1.0.2 | 14 | 01/09/2024 |
| 1.0.1 | 36 | 01/08/2024 |
| 1.0.0 | 36 | 01/08/2024 |