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.
.NET Standard 2.0
- MockQueryable.Core (>= 3.1.2)
- Moq (>= 4.8.0)
| Version | Downloads | Last updated |
|---|---|---|
| 10.0.1 | 0 | 11/22/2025 |
| 10.0.0 | 0 | 11/22/2025 |
| 9.0.0 | 0 | 10/06/2025 |
| 8.0.1 | 0 | 10/06/2025 |
| 8.0.0 | 0 | 07/27/2025 |
| 7.0.4-beta | 0 | 09/24/2024 |
| 7.0.3 | 0 | 09/02/2024 |
| 7.0.2 | 0 | 08/20/2024 |
| 7.0.1 | 0 | 03/07/2024 |
| 7.0.0 | 0 | 11/21/2022 |
| 6.0.1 | 0 | 03/28/2022 |
| 6.0.0 | 0 | 03/24/2022 |
| 5.0.2 | 0 | 03/24/2022 |
| 5.0.1 | 0 | 05/25/2021 |
| 5.0.0 | 0 | 11/12/2020 |
| 5.0.0-preview.7 | 0 | 07/28/2020 |
| 3.1.3 | 13 | 03/14/2024 |
| 3.1.2 | 0 | 04/17/2020 |
| 3.1.1 | 0 | 01/25/2020 |
| 3.0.2 | 0 | 12/20/2019 |
| 3.0.1 | 0 | 10/11/2019 |
| 3.0.0 | 0 | 09/30/2019 |
| 1.1.0 | 0 | 02/28/2019 |
| 1.0.4 | 0 | 01/29/2019 |
| 1.0.3 | 0 | 08/30/2018 |
| 1.0.2 | 0 | 01/17/2018 |
| 1.0.1 | 0 | 12/26/2017 |
| 1.0.0 | 0 | 12/26/2017 |