Telerik blogs

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 JustMockInstallationPath/Libraries/netcoreapp2.0/.

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.

Mihail Vladov
About the Author

Mihail Vladov

Mihail Vladov is a Software Engineering Manager at Progress. He has more than a decade of experience with software and product development and is passionate about good software design and quality code. Mihail helped develop the WPF controls suite and Document Processing libraries which are used by thousands of developers. Currently, he is leading the JustMock team. In his free time, he loves to travel and taste different foods. You can find Mihail on LinkedIn.

Related Posts


Comments are disabled in preview mode.