Manuel,
--- In extremeprogramming@yahoogroups.com, "Manuel Klimek" <klimek@...>
wrote:
> > It's hard to sell the notion that "sometimes" my acceptance tests
will
> > tell me that I forgot something. Wouldn't it be cheaper to find a
way
> > to remember in the first place?
>
> Sometimes my unit tests will catch bugs. Wouldn't it be cheaper to not
> insert them in the first place? I don't see what you're aiming at...
I don't use TDD to catch bugs, I use TDD to prevent bugs.
So yes, it is cheaper to not put them in in the first place... and I use
TDD to help with that. It's the cheapest way I have found to do this.
If someone tells me a cheaper way I will probably do that.
<snip/>
> So how do you know for every method that Presenter and BusinessObject
> agree on the semantics of the method?
>
> Cheers,
> /Manuel
I don't know what "agree on the semantics of the method" means.
Do you mean the signature? Our mocking framework lets us test arguments
on mocked calls.
Matt