Art of Unit Testing
phil hunt
zen19725 at zen.co.uk
Wed Aug 3 08:50:26 EDT 2005
On Tue, 02 Aug 2005 17:18:51 -0400, Peter Hansen <peter at engcorp.com> wrote:
>
>If you're going to quote XP rules of thumb, the tests should be
>independent and very fast, and if you have a setup code that is taking a
>long time, it's likely a "code smell" of some kind, and you should be
>fixing the design which prevents you writing these tests with minimal
>and quick setup. Are these really like "acceptance" tests? If they
>were unit tests, they should take only a few minutes to run, total,
Eek! Seconds, more like.
--
Email: zen19725 at zen dot co dot uk
More information about the Python-list
mailing list