Search The Blog
About this site

@RoyOsherove

Subscribe!

This site aims to connect all the dots of my online activities - from tools, books blogs and twitter accounts, to upcoming conferences, engagements and user group talks.

from 5whys.com
Twitter: @RoyOsherove
My Book: The Art of Unit Testing
Latest Posts
« SharpMock 0.1 ? | Main | Art Of Unit Testing – Book done, Wiki ready »
Saturday
Oct112008

Isolator feature focus – Advanced Debugger Support for fakes

Two features that Typemock Isolator has make the debugging experience with it very different than any other isolation framework:

1) Highlight fake method during debugging

 

WindowClipping (28)

When stepping into a method that is being faked by the test, the method will be outlined with a nice purple line around it, notifying the user that the real method will not be called, but instead will be intercepted by Typemock Isolator.

2) Fake method and property evaluation in the debugger does not break the test

With other frameworks, if, during debugging, you evaluate (even by mistake, by opening a watch window for example) the value of a fake property of a method, the isolation framework will treat this action as if it was run from production code, and so you might fail the test or cause unknown behavior from the faked methods or properties.

Isolator is smart enough to detect such actions and will do two things:

  • Return the fake value that was assigned to that method or property to see in the debugger
  • Ignore this action as if it never happened so the test can continue as is even during debugging

PrintView Printer Friendly Version

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>