BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News How To Complete Stories Without Leaving Bugs Behind

How To Complete Stories Without Leaving Bugs Behind

This item in japanese

"Brian" on the Scrum Development mailing list has a quality problem:

Our Dev Team is having trouble completing Stories with low bug counts at the end of our Iteration. An Executive suggested, even if we fix the problem, creating a Story - QA Score.

Jorge Rowies offers a couple of alternatives to creating a new quality metric:

Are the QA people in the same team as the developers? If not, that would be a good starting point on how to reduce the ammount of defects.

Each of the stories have acceptance tests? If so, who writes those tests?, are they clear and achievable in one iteration?

Malcolm Anderson recommends blocking new development in favor of perfecting existing stories:

Wouldn't it just be easier to have a QA person approve a story before a developer can move on to work on the next story.

That should drop your bug count to near zero.

Developers tend to want to work on "the new stuff" and developers who can code poorly but quickly tend to get to work on the most "new stuff." This approach stops rewarding developers for producing bad code quickly.

Jack Milunsky advocates focussing on the definition of done:

Your team needs to setup your "Done" criteria for each story. This includes acceptance tests and quality criteria. If you still have bugs remaining for a story at the end of the sprint then the story is not done. You have to complete the development and test and fix cycle all within the same sprint. This will put you in good shape quality wise.

Peter Skeide has several concrete suggestions to resolve these quality problems:

  • Improve how retrospectives are done so they can effectively detect and address these kinds of quality problems.
  • If there are quality differences in the code written by different team members, have the better programmers find ways to raise the quality of code written by others.
  • Focus on defect prevention, not just detection. Tools that can help are:
    • code inspections
    • checklists
  • Use pair-programming to improve knowledge sharing within the team.
  • Begin regular use of static or dynamic code analysis tools.
BT