What is the best ratio of testers to developers in an agile team?
First published 03/12/2009
You may or may not find this response useful. :–)
“It depends”.
The “it depends” response is an old joke. I think I was advised by David Gelperin in the early 90s that if someone says “it depends” your response should be “ahh, you must be a consultant!”
But it does depend. It always has and will do. The context-driven guys provide a little more information – “it depends on context”. But this doesn't answer the question of course – we still get asked by people who really do need an answer – i.e. project managers who need to plan and to resource teams.
As an aside, there’s an interesting discussion of “stupid questions” here. This question isn't stupid, but the blog post is interesting.
In what follows – let me assume you’ve been asked the question by a project manager.
The 'best' dev/tester ratio is possibly the most context-specific question in testing. What are the influences on the answer?
- What is the capability/competence of the developers and testers respectively and absolutely?
- What do dev and test WANT to do versus what you (as a manager) want them to do?
- To what degree are the testers involved in early testing (they just system test? Or are involved from concept thru to acceptance etc.)
- What is the risk-profile of the project?
- Do stakeholders care if the system works or not?
- What is the scale of the development?
- What is the ratio of new/custom code versus reused (and trusted) code/infrastructure?
- How trustworthy is the to-be-reused code anyway?
- How testable will the delivered system be?
- Do resources come in integer whole numbers or fractions?
- And so on, and so on…
- How much budget is available? (knowing this – he has an answer already)
- Does the project manager trust your estimates and recommendations or does he want references to industry ‘standards’? i.e. he wants a crutch, not an answer.
- Is the project manager competent and honest?
Does he regard you as competent and trust what you say anyway? This final point could depend on his competence as much as yours! References to ‘higher authorities’ satisfy some people (if all they want is back-covering), but other folk want personal, direct, relevant experience and data.
I think a bit of von Neumann game theory may be required to analyse the situation!
Here’s a suggestion. Suppose the PM says he has 4 developers and needs to know how many testers are required. I’d suggest he has a choice:
- 4 dev – 1 tester: onus is on the devs to do good testing, the tester will advise, cherry pick areas to test and focus on high impact problems. PM needs to micro manage the devs, and the tester is a free-agent.
- 4 dev – 2 testers: testers partner with dev to ‘keep them honest’. Testers pair up to help with dev testing (whether TDD or not). Testers keep track of the coverage and focus on covering gaps and doing system-level testing. PM manages dev based on tester output.
- 4 dev – 3 testers: testers accountable for testing. Testers shadow developers in all dev test activities. System testing is thorough. Testers set targets for achievement and provide evidence of it to PM. PM manages on the basis of test reports.
- 4 dev – 4 testers: testers take ownership of all testing. But is this still Agile??? ;–)
Tags: #estimation #testerdeveloperratio
Paul Gerrard My linkedin profile is here My Mastodon Account