Re: Metrics for automation ...
- From: "Michael Bolton" <google@xxxxxxxxxxxxxxxxx>
- Date: 27 Jul 2006 09:23:58 -0700
Paul Szymkowiak wrote:
....
When analyzing what you've measured to support change or achievement
goals, trends are generally more insightful and more useful indicators
than absolute numbers. Is the rate, volume etc increasing or decreasing
over time? Why is that? Is that good or bad? What can we do to change
that trend going forward?
....
As a starting point, try to base your approach on simple, easily
gathered primitive metrics; basically, keep collection as simple as you
possible can - but not simpler than it needs to be.
At a session at Agile 2006 Rachel Davies led a session in which we
experimented with creating robust metrics and then gaming them. My
conclusions were 1) ANY metric can be gamed handily; 2) in general, the
simpler the metric sounds, the easier it is to game; and 3) in this
business, we undervalue qualitative metrics and overvalue quantitative
ones. It's also to see that, usually due to reification (mentally
treating an abstract notion as though it were something concrete), we
end up comparing not only apples with oranges, but also apples with
tractors.
One of the easiest mistakes to make is to count test cases or bugs.
Test cases are ideas; bugs are ideas misimplemented. What's the
appropriate way to count an idea? There isn't one. When we count a
test case, we ignore everything about it except its identity. We
ignore the length of time it takes to write it, the length of time it
takes to run it, the risk that it is designed to detect, the
significance of that risk, the power of the test to reveal the bug, the
reliability of the oracle (the principle or mechanism by which we
recognize a problem), the probability of that risk coming to pass, the
variability in the impact of the risk--just to name a few. The same
sorts of things are true about counting bugs. And yet what do we try
to count most often?
In terms of assessing automation efforts, we often count something
about them, and presume that higher numbers are better. Yet test
automation is a tool; automated tests are tools. Car companies use
tools to build cars. Would we really assess the quality of a car by
counting the tools used to produce it? Would we willingly drive in one
where the tool count was the principal means of assessing the quality
of the car? Wouldn't we want to know something about the skill of the
people who were wielding the tools? Wouldn't we want to make some
observations about the item that the tools were producing? Wouldn't we
want to know something about the tools, not just how many there were?
If we're trying to report on progress towards a goal, I think
narratives and stories from skilled peole that we trust are going to
tell us what we need to know. Management ultimately wants to know
about the quality of the product. Telling them about risks, or about
the progress we're making towards identifying those risks, seems to me
to be the way to go. If they want something more numerical, we must
take responsibility for communicating the risks and drawbacks of that
approach. If they insist on numbers, let's use numbers that prompt
questions, rather than provide misleading answers.
---Michael B.
.
- Follow-Ups:
- Re: Metrics for automation ...
- From: Paul Szymkowiak
- Re: Metrics for automation ...
- References:
- Metrics for automation ...
- From: Shrinik
- Re: Metrics for automation ...
- From: Vivekanandan M
- Re: Metrics for automation ...
- From: Shrinik
- Re: Metrics for automation ...
- From: Vivekanandan M
- Re: Metrics for automation ...
- From: Matthias Wolpers
- Re: Metrics for automation ...
- From: Shrinik
- Re: Metrics for automation ...
- From: Paul Szymkowiak
- Metrics for automation ...
- Prev by Date: Re: Test Tools
- Next by Date: Re: Test Tools
- Previous by thread: Re: Metrics for automation ...
- Next by thread: Re: Metrics for automation ...
- Index(es):
Relevant Pages
|