[TIP] structure of a testing talk
andrea.crotti.0 at gmail.com
Tue Oct 2 07:33:32 PDT 2012
2012/10/2 Jonathan Hartley <tartley at tartley.com>:
> On 02/10/2012 14:16, Jonathan Hartley wrote:
> I think I answered my own question: I was mentally comparing the situation
> *with* tests for Python versus for other languages. I should have been
> comparing the situations *without* tests. An alien mindset. Thanks for being
> my sounding-board.
Yes that's the point.. In other languages you're in serious trouble
if you don't test properly, in Python you're simply doomed ;)
But on the other hand we have things like mock that more static
languages don't have, so there are pros and cons..
Another thing which people often say is "well it's just a small script
I don't need tests", and then 3 months later is 5000 lines of
monstruosity used in production.
More information about the testing-in-python