Archive for August, 2008

Why TDD Rocks

Yesterday I had (yet another) realization about the power of TDD. In the latest iteration I’ve been working on adding features onto out new AAA API (see Gil’s recent posts for more info). Feeling in ...

Read More

Isolator AAA: Verification

After creating fakes and setting behaviors. we come to the end of our journey (until next release, when new APIs will appear) – verification. The syntax makes the tests much more readable. You specify exactly ...

Read More

Isolator AAA: Setting Behavior

After we created fakes, now we can set specific behavior. As you may recall, the default behavior is set when the fake is created. Using the WhenCalled API, we can now set the behavior of ...

Read More

Isolator AAA: Creating Fakes

So let’s start at the beginning. And in the beginning you do this: RealLogger fake = Isolate.Fake.Instance<RealLogger>(); That’s it, you created a fake of the type RealLogger. On this fake you can set behavior and ...

Read More

Isolator AAA API – The Basics

What is AAA? NUnit and likes have been using it for years. The Arrange, Act and Assert (AAA) structure of a test is very convenient, readable and maintainable. Using AAA a test looks like that: ...

Read More

Typemock Racer Released!

I’m happy to announce the release of the Alpha version of our newest product Typemock Racer.  you can get it here. Typemock Racer is a tool that uses dynamic and static analysis to find deadlocks ...

Read More

Typemock Isolator 5.0 Released

Well, this is a first for me – a major release. Fifth for the product. Aren’t we mature? There are two major features in this release. Let’s start with the new licensing scheme. There are ...

Read More

Writing Testable Code

A common problem that most beginners in the TDD world have is how to define a unit test. Although seems like a (very) simple task – writing a good unit test is not that simple. ...

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

Isolator 4.3.2 Released!

And another patch is out. You can download it here. So what’s new in this one? This is mostly a fix compilation, but there are a couple of new things: We’ve added support for ExactMagic‘s ...

Read More
TOP