Unit Testing SharePoint using Isolator

The P&P group at Microsoft has recently adopted the Isolator product as their mocking framework of choice. In their current guidance drop announced recently they include usage of the Isolator: “Checkout how we unit test ...

Read More

TDD Research

Here’s a very nice case study conducted at Microsoft on two projects: http://research.microsoft.com/manuvir/papers/isese-fp17288-Bhat.pdf Here are two tables showing the difference when using TDD Table 1: Project A Outcome Measures Metric Description Value Actual defects/KLOC (using ...

Read More

How to create an instance that cant be instantiated.

One of the questions that keep up popping every once in a while in our forums is how to “bypass” the creation phase of an object. Actually here lies the true power of the Isolator ...

Read More

Why Do I Write Unit Tests?

There are many articles and blogs out there explaining the advantages of AUT. Here is my small take on the question “why do I write unit tests?” 1) I really want to keep my boss ...

Read More

Testing WF using Typemock Isolator

Maurice has recently posted on how to leverage the Isolator framework in order to write automated test for WF components. in his first post he demonstrates how to isolate user custom code from the workflow ...

Read More

Using Custom Checks

Brad has just blogged that “Mocking Still Not Quite There For Me“. I looked at his post and thought that this can serve as a good example for using a Custom Checker so here goes: ...

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

Can Num3rs Lie?

In a series of posts Oren (Ayende) and Sasha have debated the need to design for performance. Both parties make some very compelling arguments and its real interesting reading material. Since I still need to ...

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

Defaults

One of the more paining decisions we are faced during development of a product is deciding on default behaviors. Whether it is specific values we need to consider or more generic logic inside our product. ...

Read More
TOP