Which mock library do you prefer?
Phlip
phlip2005 at gmail.com
Tue Feb 16 12:38:09 EST 2010
On Feb 16, 9:08 am, Lacrima <lacrima.ma... at gmail.com> wrote:
> Thanks for your exhaustive answer.
> Actually, I'll investigate your example with 'frob'. From just reading
> the example it's not clear for me what I will benefit, using this
> approach.
I can't get a good hit for "construction encapsulation" in Google.
(Although I got some good bad ones!)
This paper _almost_ gets the idea:
http://www.netobjectives.com/download/Code%20Qualities%20and%20Practices.pdf
> And I have already refused to write totally isolated tests, because it
> looks like a great waste of time.
Do you run your tests after the fewest possible edits? Such as 1-3
lines of code?
I'm not sure why the TDD books don't hammer that point down...
--
Phlip
http://c2.com/cgi/wiki?ZeekLand
More information about the Python-list
mailing list