Completed
Last Updated: 13 Nov 2024 15:29 by ADMIN

This article mentions a package that can be used to very easily mock Entity Framework types (mainly DbContext). However, this package only works for Entity Framework 6, and not Entity Framework Core, which my project uses. I would love to see this package updated to greatly simplify unit testing for my project.

I'm specifically looking to mock the following types: IDbContextFactory, my subclass of DbContext, and DbSet. All of this is currently possible of course with the standard JustMock interface but it's a hassle.

Completed
Last Updated: 13 Aug 2025 10:54 by Valentina
Release 2025 Q3

We're using this DevOps task in our pipeline, however since yesterday we get the following warning:

##[warning]Task 'Telerik JustMock VSTest v.2' version 2 (JustMockVSTest@2) is dependent on a Node version (6) that is end-of-life. Contact the extension owner for an updated version of the task. Task maintainers should review Node upgrade guidance: https://aka.ms/node-runner-guidance

 

We're running it using a build agent hosted at the Azure DevOps cloud.

Completed
Last Updated: 13 Aug 2025 11:14 by ADMIN
Release 2025 Q2

My setup includes my local dev environment and so called "grid node" server used by NCrunch.

Yesterday I've updated JustMock to version 2025.2.520.440.
After that update I received an error mentioning my License file not to include Telerik Just Mock.
So I've updated my License file by the way mentioned in the Release Notes.

After that my NCrunch Build crashed with an TypeInitializationException "The type initializer for 'Telerik.JustMock.Core.Licensing.LicenseManager'. String was not recognized as a valid DateTime."

I've updated my License file again today and the Exception Message has changed to "String '5/20/2025' was not recognized as a valid DateTime."

I than set my local DateDime format from dd.MM.yyyy to yyyy-MM-dd and the problem is gone.
So it seems like the current version has a problem with our German / European format.

With version 2025.1.211.365 everything worked fine.

So would you please so kind to have a look onto that?
Thank you

 

Completed
Last Updated: 01 Jul 2025 11:12 by ADMIN
Created by: Davy
Comments: 1
Category: JustMock
Type: Feature Request
0

Good morning,

Could you please give me a help in order to use JustMock to moch the HttpContext of my API controller?

I have inclosed you my code extracted from my software with the minimal code I could.

In this one, DealControllerReadByIdShouldReturnDtos works fine but unfortunately I tried for hour to make my DealControllerReadAllShouldReturnDtos test works.

Could you please help me?

In advance I thank you

Davy MANGOLD - Humrig

Unplanned
Last Updated: 13 Oct 2025 15:03 by Dan Avni
When upgrading from MSTest v3.9.3 to MSTest v4, certain unit tests using Telerik JustMock begin to fail.

6 7 8 9 10 11