Definitely agree, great analogy.
--- In glasgow_altdotnet_usersgroup@yahoogroups.com, Paul Cowan
<dagda1@...> wrote:
>
>
> >> 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@...: colin.jack@...: Wed, 22 Oct
2008 07:52:50 +0000Subject: [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
TestDoubles that you'll want to look at.
>
>
>
>
>
> _________________________________________________________________
> See the most popular videos on the web
> http://clk.atdmt.com/GBL/go/115454061/direct/01/
>