The latest Telerik JustMock service pack release supports the official release of .NET 5, helping you take advantage of immediate improvements in performance, functionality and more. Of course, we have few bug fixes as well.
As you probably already know, .NET 5 was officially released at .NET Conf 2020 with many improvements included. The last thing we want is JustMock to block you from migrating to that long-awaited version of .NET. This is why we’ve been testing all preview versions for compatibility, and now we can officially say that with the R3 SP2 2020 release, Telerik JustMock supports .NET 5.
Are There any Changes in how You Should Use Telerik JustMock with .NET 5?
Usually, when I need to migrate an application to a newer version of a third-party library, I feel anxiety about how much time will take, as there is always the possibility that there is a lot of breaking changes that I will have to handle. When it comes to updating to a newer version of .NET, that anxiety is even greater. This is why we tried to make that process easier for you. As a result, the Telerik.JustMock.dll remains the same for all versions greater than .NET Core 2.0 and .NET 5. You can find it in the
There is one change that you should have in mind. When you migrate to .NET 5 in your test project along JustMock you should add a reference to System.Security.Permissions version 5.0. This package will be automatically resolved if you use the Telerik JustMock NuGet package.
Mock of Local Functions in an Async Method
We received reports that mocking a local function located in an async methods is broken. With R3 SP 2 2020 that issue is fixed.
Exception Is Thrown when
Ninject.Extensions.Conventions Nuget Package Is Referenced
As you probably guessed correctly referencing Ninject.Extensions.Conventions NuGet package along JustMock led to an exception been thrown. This issue is fixed with R3 SP2 2020.
The R2 2020 release is already available for download in customers’ accounts. If you are new to Telerik JustMock, you can learn more about it via the product page. It comes with a 30-day free trial, giving you some time to explore the capabilities of JustMock.
Try JustMock Now
Feel free to drop us a comment below sharing your thoughts. Or visit our Feedback Portal and let us know if you have any suggestions or if you need any particular features.
You can also check our Release History page for a complete list of the included improvements.