Archive for October, 2010

How-To: Running Custom Code With DoMemberFunctionInstead Clauses Using Isolator++

Isolator++ APIs make it easy to return custom values or objects. It’s really easy to return values or control behavior of one or more methods. But sometimes you want more than that: You want to ...

Read More

Video & slides – Easier Unit Testing with Isolator++

Here’s the video of the live stream conference where we introduced Isolator++ for the first time. Slides are just below. Typemock Isolator++ – Easier unit testing in c++ View more presentations from typemock.

Read More

How-To: Setting Behavior for Future Objects with Isolator++

One of the biggest hurdles in writing tests for legacy code are future dependencies. They are called “future” objects, because they are created inside the class under test, rather then injected into it by the ...

Read More

Test Lint Rules Summary

We’ve released Test Lint about 6 months ago. During that time, we’ve added rules to help developers write their tests correctly. So here’s a reminder about the rules that Test Lint includes today: No asserts ...

Read More

Join us for a free webinar on Easy Unit Testing in C++ with Roy Osherove

On Thursday, October 21st, 2010, Typemock’s CTO Roy Osherove will host a webinar on Unit Testing in C++. The webinar will include: Examples of how to write effective unit tests in C++ C++ Unit Tests ...

Read More

How-To: Faking Private Methods with Isolator++

In many cases, the dependency we’re trying to get around is not in another class, but in the one we’re trying to test. To make things worse, this method is sometimes inaccessible. When that happens, ...

Read More

How-To: Asserting A Method Was Called With Isolator++

Many times, when we come to determine a test pass/fail criterion, we use some sort of ASSERT statement. ASSERT usually tests for state – checking on field values, to determine if that value is the ...

Read More

How-To: Change Behavior of Instance Methods with Isolator++

The basis of the Isolator++ is the ability to change behavior of any method. Let’s look at an example for changing behavior of an instance method. We want to test our Person object. While I’m ...

Read More

How-to: Changing Behavior of Static Methods with Isolator++

Isolator++ can change the behavior of methods very easily, without changing the original implementation. When you change the behavior of an instance or a static method, you can do that in different fashions. We have ...

Read More

Isolator++: Introduction

Isolator++ is the new isolation framework from Typemock. In C++ everything is harder, even unit testing, believe it or not. When people start doing unit tests, they run into the dependency problem. And this is ...

Read More
TOP