Posts Tagged: HowTo

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

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

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

Debugging the Undebuggable

I bumped up against an interesting problem today. I was trying to write a unit test for our CRM code (I’ll write about my endeavor in a another post). Anyway, I was trying to test ...

Read More

Free Unit Testing Webinar on LIDNUG with @Typemock

  I want to quickly tell you about an upcoming live unit testing webinar, featuring Gil Zilberfeld from Typemock, that you may find valuable. Here’s the abstract: Unit Testing in the Wild You know that ...

Read More

Test-Driven-Development with SharePoint 2010 By Andreas Rudolf Aschauer, BSc

Andreas Aschauer studied Software Engineering at Vienna Technical University. Besides his studies he worked as a developer and consultant for .NET framework based solutions for various international corporations. Since 2009 he is a Development Trainer ...

Read More

More from this week Typemock TV

Read More

How to run NUnit tests created with VS2010 and .NET 4

Today when writing tests for a new project built using VS2010 I had an interesting problem: NUnit would not run my unit tests because the assembly that contained my unit tests was compiled using a ...

Read More

Testing without SmtpClient

This is pretty awesome. here’s another way of really unit testing smtpClient code, without having a server running:   I’m using Isolator to capture and redirect calls from the next instance of SmtpClient, capturing the ...

Read More

How to fake method’s parameters

Although Typemock Isolator know how to fake out and ref parameters there are times that a certain parameter passed to shall return a specific value. Consider this scenario – a call to a stream object: ...

Read More
TOP