Posts Tagged: Advanced

Creating an IntelliTest suggestion in 5 minutes

one of the “hidden” features in the latest typemock release is the fact that the Intellitest suggestion engine is extensible. I was easily able to add suggestions to create fake objects using another framework. here’s ...

Read More

Feature Preview: Custom Argument Checking with Argument Placeholders

Our very own Roy Osherove posted a glimpse of a feature we’re planning to release in our next Isolator version – custom argument checkers in AAA. This feature will allow you to fake behavior conditionally; ...

Read More

Is the visibility of tested methods important?

We are having quite a discussion lately within Typemock about the importance of the visibility of tested methods. For example, should it really be harder to test a private method? If it is harder, then ...

Read More

Mocking asynchronous actions with Typemock Isolator

Here is an answer to a question that keeps popping up every once in a while: how do you stub out asynchronous actions in your class under test? Assuming that you can’twon’t change the code ...

Read More

Configuration via Typemock Interception

A while ago Udi Dahan wrote that he’d like a way to configure objects by just setting property values on an object. those “setters” will be intercepted and saved to a some config object (or ...

Read More

More on Using Marshal.GetExceptionCode()

A long time ago Ayende pointed out that GetExcpetionCode can be used to know whether an exception was thrown from inside a finally clause. We have found this technique also useful (thank you Ayende) from ...

Read More

Argument Checking

One common use of a mocking framework is to check interaction between classes, Specifically checking correct arguments passing between calls. Like any other framework Typemock Isolator also contain such an ability: using (RecordExpectations recorder = ...

Read More
TOP