Which mock library do you prefer?
Ben Finney
ben+python at benfinney.id.au
Tue Feb 16 15:30:42 EST 2010
Lacrima <lacrima.maxim at gmail.com> writes:
> And I have already refused to write totally isolated tests, because it
> looks like a great waste of time.
It only looks like that until you chase your tail in a long, fruitless
debugging session because (you later realise) the behaviour of one test
is being affected by another. Test isolation is essential to ensure that
your tests are doing what you think they're doing.
--
\ “A ‘No’ uttered from deepest conviction is better and greater |
`\ than a ‘Yes’ merely uttered to please, or what is worse, to |
_o__) avoid trouble.” —Mohandas K. Gandhi |
Ben Finney
More information about the Python-list
mailing list