Art of Unit Testing
Delaney, Timothy (Tim)
tdelaney at avaya.com
Thu Aug 4 00:12:13 CEST 2005
phil hunt wrote:
>> tests? If they were unit tests, they should take only a few minutes
>> to run, total,
> Eek! Seconds, more like.
Unfortunately, when you've got umteen zillion of them, having
individually fast test suites doesn't help much :( The complete test
suite for my current project takes approx 10 minutes to run. Test suites
for most individual packages is on the order of seconds, but they do add
Of course, having slow test suites is much much worse ...
And there's the odd test which needs to take longer, normally because
it's timing related - for example, you may want to test that changing a
timeout works over various time periods.
More information about the Python-list