>> it its the section on Test Doubles that you'll want to look at.
Amen to that.
The analogy of the stunt double is one of the things that finally enabled me to write better tests.
I always write my own test doubles. Is it possible to create through a mocking framework?
Everyone has there own aha moment.
The moment it clicked that I should absolutely start by writing a test that fails and then make it pass was when I was sold on the whole thing.
I try and start every bug with the input that caused the bug and every new functionality with a good assertion that it should pass.
dagda1@...
To: glasgow_altdotnet_usersgroup@yahoogroups.com
From: colin.jack@...
Date: Wed, 22 Oct 2008 07:52:50 +0000
Subject: [glasgow_altdotnet_usersgroup] Re: TDD, Mocks, Stubs, IoC, DI, getting it straight.
For the best free wallpapers from MSN Click here!
Amen to that.
The analogy of the stunt double is one of the things that finally enabled me to write better tests.
I always write my own test doubles. Is it possible to create through a mocking framework?
Everyone has there own aha moment.
The moment it clicked that I should absolutely start by writing a test that fails and then make it pass was when I was sold on the whole thing.
I try and start every bug with the input that caused the bug and every new functionality with a good assertion that it should pass.
dagda1@...
To: glasgow_altdotnet_usersgroup@yahoogroups.com
From: colin.jack@...
Date: Wed, 22 Oct 2008 07:52:50 +0000
Subject: [glasgow_altdotnet_usersgroup] Re: TDD, Mocks, Stubs, IoC, DI, getting it straight.
>
> Thank you Colin for the book recommendation, it has been sitting in my
> amazon basket for a while now. Got a few others to read first.
>
I know that feeling! :) When you do buy it its the section on Test
Doubles that you'll want to look at.
> Thank you Colin for the book recommendation, it has been sitting in my
> amazon basket for a while now. Got a few others to read first.
>
I know that feeling! :) When you do buy it its the section on Test
Doubles that you'll want to look at.
For the best free wallpapers from MSN Click here!