Poll: which test runner are you using?

There are many test framework for the .NET developer but TDD’ing without a proper test runner can be a source of frustration and waited time. Luckily for us there are quite a few test runners ...

Read More

Practice what you preach

If you’re reading this blog you probably know that Typemock Isolator is about unit testing and TDD but its more then that, Typemock products are developed using agile methodologies – in fact today we’ve passed ...

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

WCF Tip – How to unit test an ErrorProvider

A while ago this problem was brought to my attention by one of our customers: WCF enable us to add a custom error handler as part of the service implementation: The implementation of ErrorHandler is ...

Read More

Don’t mock my Integration test – a reply

It seems that the post I wrote yesterday – Unit Tests vs. Integration tests was well heard, Ayende wrote his take on my post his blog. I’d like to begin by saying that no one ...

Read More

Unit Tests vs. Integration Tests

Ayende has written a short and to the point post about Unit tests vs. Integration tests. An even shorter summery of the post is: Unit tests runs faster but integration tests are easier to write. ...

Read More

Quick tip – How to fake a singleton

The singleton pattern is well known and used in many software projects. Faking Singleton can be done by replacing the singleton class on creation or by faking the property (or method) that returns the singleton. ...

Read More

WCF tip – How to fake a method inside WebOperationContext

One of our customers had a very interesting problem. When using he needed to set WCF’s WebOperationContext.Current.IncomingRequest.UserAgent to return a specific string. Usually this would not have been a problem using the AAA API: 1: ...

Read More

Virtual Tech-Days Session: TDD with Typemock Isolator

On April 1st Microsoft is hosting a 24 hour event of technology learning. If you’re reading this blog you might be interested to listen to one specific session called "Starting TDD with Mock objects" presented ...

Read More

How to check Exception message using MS Test

In Typemock we use both NUnit and MSTest to run our unit tests. This practice enables us to check that Isolator works fine on both unit testing framework. Most of NUnit attributes can be translated ...

Read More
TOP