For Programmers: Free Programming Magazines  


Home > Archive > Extreme Programming > August 2005 > Re: How long is a piece of string? How big's a unit?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: How long is a piece of string? How big's a unit?
Michael Feathers

2005-08-02, 9:05 am


For me, a test is not a unit test if:
1) It talks to a database
2) Communicates across the network
3) Touches the file system
4) You have to do special things to your environment to run it


How big is a unit? Not more than 1/100th of a second.


Michael Feathers
author, Working Effectively with Legacy Code (Prentice Hall 2005)
www.objectmentor.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com