Visualizing Quality – keynote by Gojko Adzic at BDD Exchange 2011
Join the DZone community and get the full member experience.Join For Free
how do you measure quality? number of defects? customer happiness? money earned? developer smiles? that’s the question raised by @gojkoadzic in his keynote at the recent bdd and agile testing exchange in london, to make us think and propose some elements of response.
we tend to ignore information
we are used to ignore automatic alarms, even fire alarms: we just don’t care, but we care when a person tells us about an issue or is shouting « fire in the building! ».
as in the story of the gloves on the boardroom table , making the problem tangible and visible help trigger reactions. the book switch gives examples of such surprising techniques. sharing information is not enough, a company is like an elephant, you don’t really drive it, you motivate it to go where you’d like to go. so visualization can help there.
best practices change over time, as the techniques in athleticism replace each other. for example at one company they disable most of their functional tests after a feature is developed, because they impede the frequency of their release cycle; on the other hand, they closely monitor the conversion rate of the website, which is for them the best metrics since it encompasses both the technical bugs and the business bugs.
this does not mean you should disable your functional tests, but it illustrate that what may seem nonsense today may be the next best practice tomorrow.
absence of bugs ≠ presence of quality
the absence of bugs is completely different than the presence of quality. twitter has lots of bugs but most people are happy with it so it has quality; on the other hand, nokia phones have no bug, yet if nobody likes them they have no quality either.
so how to measure quality? if you put 20 people in a room with 3 post-it’s each and ask them to write what attributes of the product they think are the most important, and if you get a small enough group of common answers then they are candidates of things you need to measure.
- process effectiveness
- product status
- production performance
here i have the feeling that each of the first two is just a proxy for the next, and only the last is the real one, though i’m not sure.
test coverage is crap
taking an example of a ui, a window with 5 buttons on it it will likely requires 5 time more testing than one with only one button, even if the later brings a lot more value, which suggests that test coverage is crap.
if test coverage itself is crap, you may however monitor your risk coverage , that is the amount of testing compared to the associated risk. this metrics helps identify where you need to test more.
visualize to make information actionable
once you know what to measure, you want to visualize it. james bach proposes his technique of low-tech testing dashboard . you divide your system into high-level subsystems, and for each you monitor the « progress of testing »: not yet started, half done or done, and the « level of confidence so far » with 3 smileys from happy to anxious. that’s better than a bug-tracking tool with 500 tickets mixed altogether.
another visualization mode is the use of effects maps , or acc matrix . you may also monitor in realtime the feed of sentiment of every twitter message about your company or product as they do at finn technology in oslo.
as a conclusion, gojko introduces the brand new visualisingquality.org website where you can find many ways to visualize your measures of quality and where you can contribute additional ones. since making things visible is so essential for action, let’s try ideas and share them through this website!
the podcast of the full talk is available here: http://skillsmatter.com/event/agile-testing/agile-testing-bdd-exchange-2011/js-2990
Opinions expressed by DZone contributors are their own.