Release Notes

Version 6.0

These are the release notes for Release 6.0.


Visual Studio 2010 & .NET 4.0 support
  • Typemock Isolator is now fully integrated into the Microsoft Visual Studio 2010 development environment, including our new productivity tools
  • Support for the new .NET 4 dynamic keyword � can set expectation on dynamic objects
  • Setting behavior on Dynamic object
  • Can fake and set expecations on objects with C# optional parameters
Typemock Intellitest

In this version we have continued our work on Typemock Intellitest

  • Intellitest now provides suggestions and generates behavior code for any object inside the test class
  • Intelitest look and feel improvements


  • Suggest faking object

    Suggesting Behavior
    Silverlight unit testing SilverUnit is now bundled with Isolator enabling real unit testing in Silverlight
    Create future fake instance If you are not interested in setting expectations or perform verification on the future instance, you can take a shortcut and directly return a fake using the Isolate.Swap.NextInstance.WithRecursiveFake() method:

    Swap with fake instace
    Autodeploy Isolator's Autodeploy feature used to deploy Isolator on a build machine without prior installation
    • Available from MSBuild, NAnt and TMockRunner
    • Works on clean machine � no need to install Isolator prior to using Autodeploy
    • Registers both x86/x64 components in the same script
     
    General fixes

    In 6.0.9

    • New evaluation mode - tests written during evaluation period continue to run after evaluation expires
    • Added support for MSTest projects in Visual Studio 2010 retargeted to .NET 3.5
    • Improved performance of WhenCalled() calls using WithExactArguments()
    • Fixed a crash with Finalizers being called on fake objects
    • Fixed an issue where "Configure Typemock Isolator" and QuickStart menus did not work
    • Bug fix: Fixed an sequencing issue with ref/out parameters

    In 6.0.8

    • Fixed a crash in assemblies marked with SecurityTransparent and APTCA attributes in .NET 4. This fixes VerificationException in ASP.NET MVC3

    In 6.0.7

    • Fixed a crash in Visual Studio editions in the Chinese language (Traditional and Simplified)
    • Fixed a bug where the license was not registered correctly using the auto deploy task
    • Added 'blacklist.dat' to exclude modules from being weaved
    • Digital signature and new graphics in the installer

    In 6.0.6

    • Added support for Visual Studio 2010 IntelliTrace and Test Impact Analysis profilers
    • Added support for faking inside of DoInstead() except for dynamic return value
    • Fixed a bug with mscorlib interceptors map was being weaved and caused exception when recorded in Natural Mocks
    • Fixed message in "not enabled" exception told users to go to Tools menu instead of Typemock menu
    • Fixed a bug with indexer returning of mscrolib class caused a crash
    • Fixed a bug with unexpected call to an event adder during recording
    • Fixed multiple quick start help menu items
    • Fixed crash with using DateTime.Now with Expressions in .NET 4
    • Isolator for SharePoint can now fake types from Microsoft.Office.Server.UserProfiles.dll

    In 6.0.5

    • Internal maintenance release

    In 6.0.4

    • Fixed a bug that prevented linking with x64 profilers properly
    • Fixed a bug with indexers on fake objects (True Indexers) not setting last set value to return from the index getter
    • Fixed multithreading issues that caused unexpected return values for recursive fake properties, and crashes when creating multiple fake objects in different threads
    • Proper support for future instance swapping in .NET 4.0 for types derived from generic classes
    • Fixed crashes using Isolator tasks in MSBuild 4.0
    • GC cleanup of future fakes instantiated in the code under test is now suppressed. This fixes a crash related to future fake objects being finalized

    In 6.0.3

    • Isolator silent installer fixed
    • MSBuild Start task do not require administrative rights to run
    • AccessViolationException was thrown when faking WCF classes
    • Duplicate 'Enable/Disable Typemock Isolator' menu removed

    In 6.0.2

    • Tests execution unexpectebly hung after tests ran in NUnit
    • ref/out call sequencing issues fixed
    • AccessViolationException was thrown when faking WCF classes
    • Generic constraint on method fails in .Net 4 if constraint is interface
    • Invoke.Event with wrong argument type and andother argument passed as NULL caused wrong exception to be thrown

    In 6.0.1

    • Wrong error message shown when using ArgumentMatch with single argument that is not passed to the method
    • Exception thrown when setting behavior on class that implement two interfaces
    • Isolator would not work properly if exception was thrown from user's Equals method
    • Isolator should not show any popup messages when using autodeploy

    In 6.0.0

    • Single installer for both x86/x64 machines
    • Isolated attribute on test class apply to methods marked with NUNit's TestCase attribute
    • Isolate.Invoke.Method error message improved
    • "Explorers and Designers" package load failure fixed
    • Setting behavior on a private static method used to cause an exception inside lambda
    • Intellitest suggestions now show if method call parenthesis are opened in the middle of a method without closing
    • Exception was thrown during event handler removal
    • When using fake with ConstructorWillBe.Called using Swap.NextInstance an exception was thrown
    • Fixed bug that caused access to properties from base types to throw null reference expection
    • Fixed bug that caused multiple calls to set on indexer throw null reference exception
    • Improved error messages when nesting calls when setting behavior inside WhenCalled
    • AQTime 6 support added


    Known Issues A bug in the version 6.0.x installers may cause upgrades from these versions to erroneously ask for the reason to uninstall. This will not happen for upgrades from 6.0.4 onwards.


    Breaking changes
    N/A


     

    Copyright © Typemock Ltd. 2004-2020. All Rights Reserved.