Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Chris Morris <the.chrismo <at> gmail.com>
Subject: Re: Unit testing
Newsgroups: gmane.comp.programming.test-driven-development
Date: Tuesday 5th January 2010 18:33:18 UTC (over 6 years ago)
Looks like we have another wrinkle for Mr. Feathers:
http://blog.objectmentor.com/articles/2009/04/13/x-tests-are-not-x-tests

On Tue, Jan 5, 2010 at 12:29 PM, Michael Hill
wrote:

> The biggest single difference is scope, and the second biggest is
> shipping-reality.
>
> Traditionally, unit tests involve much larger units. A typical old-school
> example would be a set of unit tests that run against a COM object,
> regardless of whether that interface involves a single class or 300 of
> them.
>  Microtests are truly micro, irrespective of packaging.
>
> Traditionally, unit tests -- indeed most tests -- pay very close
attention
> to testing the exact binary image in the exact binary environment in
which
> it runs.  Microtests are almost entirely unconcerned with this. 
Microtests
> take for granted that they only test that object X works the way it's
> supposed to  *with  the assumption* that object X's collaborators work
the
> way they're supposed to.
>
> So you see that although a unit test *could* be a microtest, the word
> itself
> has a prior meaning that confuses experienced test-makers who are XP
noobs.
>
> Seeya,
> Hill
>
> --
Chris
http://clabs.org


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/testdrivendevelopment/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/testdrivendevelopment/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
CD: 12ms