Unit Tests & Integration Tests
roger peppe
roger.peppe at canonical.com
Mon Sep 15 21:53:44 UTC 2014
On 12 September 2014 14:46, Katherine Cox-Buday
<katherine.cox-buday at canonical.com> wrote:
> I have been trying to digest the following series of talks between Martin
> Fowler, Kent Beck, and David Heinemeier, called "Is TDD Dead?". The topic is
> a bit inflammatory, but there's some good stuff here.
Thank you very much for linking to those videos. I wasn't previously
aware of them, and they (or at least the first one, which is the
only one I've got through so far) seem very salient to this thread.
I like this quote a lot (at around 21:14 in the first part, from Kent
Beck), which
fits very well with my own feelings on some of this:
"My experience is, if I use TDD, I can refactor stuff.
And then I heard stories people say, well 'I use TDD and
now I can't refactor anything', and I couldn't understand it,
and I started looking at their tests. Well, if you have
mocks returning mocks returning mocks, your test is
completely coupled to the implementation, not the interface,
but the exact implementation of some object, y'know,
three streets away... of course you can't change anything
without breaking the tests."
I look forward to watching the rest.
cheers,
rog.
More information about the Juju-dev
mailing list