I think terminology gets more useful it it's defined in context.
I read about Google's naming too, and one thing they focused on was
defining exactly what constitutes a smal/medium/large test, what
characteristics they have, what you can and can't to in terms of
dependencies, etc.
This year I'm going to go through our test stack internally and
produce guidelines for developers for when to pick what kind of test,
what relative pros/cons they have, what technologies they involve,
etc.
I'm consciously staying away from terms like "unit", "integration",
"system" and Google's sizing terms to find words that reflect our
architecture, which would hopefully make it more intuitive to devs
where a given test fits.
Here's to hoping everybody interprets my terms the same way :-)
- Kim
On Thu, May 16, 2013 at 1:23 AM, Steve Freeman <
st...@m3p.co.uk> wrote:
> Apparently Google talk in terms of Small (isolated, very fast), Medium
> (integration, touches some external resources), and Large (system-level).
> S.
>
> Sent from a device without a keyboard. Please excuse brevity, errors, and
> embarrassing autocorrections.
>
> On 15 May 2013, at 21:03, Rick Pingry <
rpi...@gmail.com> wrote:
>
> yeah, I think it is just because the term "Unit" is suspect. Unit is such a
> vague word that implies different things in different contexts. That is a
> tough battle to wage, but I understand the need to have a common vernacular.
>
> Who is it that defines what a "Unit Test" really means? Is there a
> standards committee?
>
> On Tuesday, May 14, 2013 2:35:23 AM UTC-6, Colin Vipurs wrote:
>>
>>
>>> This time I wanted to focus purely on unit tests, or what we like to call
>>> "class isolation tests" (testing a single class and mocking all
>>> collaborators) because the word Unit is defined so differently by different
>>> people.
>>
>>
>> The phrase "unit test" has become massive overloaded, something I've seen
>> get worse as the years go on and more people do it (I once saw a test launch
>> MS Word and the developer still insisted it was a "unit" test). Rather than
>> rename them, I fight tooth and nail with everyone I meet that misuses the
>> phrase and try to educate them as to what a "unit" test really is.