Following are the release notes for version 3.7. For breaking changes, see below.
|
|
Windows Vista support |
Typemock Isolator now runs on Windows Vista. |
|
|
Mocking mscorlib interfaces |
Enterprise Edition Only (see Typemock Isolator Editions) |
|
|
Control mocking of 'hidden' base methods |
You can now have better control mocking 'hidden' methods. It is now possible to mock calls to the base class using mock.CallBase (see Hidden Methods). |
|
|
Event firing with multiple instances |
Professional Edition Only (see Typemock Isolator Editions) |
|
|
Automatic support for singletons |
When using Natural Mocks™, Typemock Isolator will automatically detect singletons and mock them accordingly. There is no need to mock them separately. |
|
|
More reflective mock expectations |
We have added more expectations methods:
|
|
|
Mocked abstract methods now have a default behavior |
Typemock Isolator now creates a default
implementation for interfaces and abstract methods. This enables
natural property behavior and unstrict method calls. This is the default implementation:
|
|
|
Natural Mocks™ strictness |
Professional Edition Only (see Typemock Isolator Editions) Typemock Isolator Natural Mocks™ now support strictness; see Arbitrary Calls. |
|
|
Abstract class constructors |
Abstract type constructors can now be invoked when creating a Dynamic Mock Object from an abstract type. |
|
|
Natural Mocks™ custom-security attribute |
Professional Edition Only (see Typemock Isolator Editions) Support for custom-security attributes on mocked code.
When the mock is called:
|
|
|
Expanded constructor mocking |
Classes with chained constructors can be mocked. The following example will call all original constructors in the chain. using (RecordExpectations recorder = RecorderManager.StartRecording()) Behavior changes: When using natural mocks, recording a new instance will raise a VerifyException if an instance was not created. New APIs:
|
|
|
Support for more profilers |
Professional Edition Only (see Typemock Isolator Editions) |
|
|
Controlling overridden static and instance methods |
Better control mocking 'hidden' static methods. You can now mock static methods that have the same name as instance methods using mock.CallStatic (see Hidden Methods). |
|
|
Bug fixes |
Yes, we also have bugs. This is the list of the ones fixed in this version:
|
|
|
Breaking changes |
|