Telerik JustMock 2019 R3 (2019.3.910.4) Retail
Download === https://urllio.com/2tuWyF
What's New in Telerik JustMock 2019 R3 (2019.3.910.4) Retail
Telerik JustMock is a powerful mocking tool that allows you to create mock objects and arrange their behavior for unit testing. With Telerik JustMock, you can mock any dependency in your code, such as classes, methods, properties, events, and more. You can also mock non-public members, static methods, sealed classes, and even future instances of a class.
In this article, we will review the new features and improvements that are included in the latest version of Telerik JustMock 2019 R3 (2019.3.910.4) Retail[^1^] [^2^].
Support for .Net Core 3.0
One of the most anticipated features of Telerik JustMock is the support for .Net Core 3.0[^3^]. This means that you can now use Telerik JustMock to create and run unit tests for your .Net Core 3.0 applications. You can also use Telerik JustMock with Visual Studio 2019 version 16.2 or higher.
Mocking of Non-Public Generics
Another new feature of Telerik JustMock is the ability to mock non-public generics[^1^]. This allows you to mock generic classes and methods that are not accessible from your test code, such as private, protected, or internal members. For example, you can mock a private generic method of a class under test and arrange its behavior.
Future Mocking of Non-Public Classes
Telerik JustMock also enables you to perform future mocking of non-public classes[^1^]. This means that you can mock instances of a class that are not yet created at the time of arranging the mock. For example, you can mock a private class that is instantiated inside a method under test and arrange its behavior.
New Property to Control Exception Throwing
Telerik JustMock also introduces a new property to control if the original exception should be thrown when a private method is invoked[^1^]. By default, Telerik JustMock will throw an exception when a private method is invoked without an arrangement. However, you can change this behavior by setting the ThrowOriginalExceptionOnPrivateMethodInvocation property to false. This way, Telerik JustMock will return the default value for the return type of the private method instead of throwing an exception.
Bug Fixes and Improvements
Telerik JustMock also includes several bug fixes and improvements in this release[^1^] [^2^]. Some of them are:
Fixed mocking of static methods that are not directly used in a test execution logic.
Fixed System.InvalidCastException when upgrading to .Net Core 3.0.
Fixed Mock.Reset not executing for arrangements made in a test setup method without a test cleanup method.
Fixed NuGet package dependencies.
Conclusion
Telerik JustMock 2019 R3 (2019.3.910.4) Retail is a major update that brings support for .Net Core 3.0, mocking of non-public generics, future mocking of non-public classes, and more features and fixes for mocking non-public API. You can download the free trial or purchase the product from the official website[^1^]. You can also suggest a feature or report a bug on the feedback portal. ec8f644aee