We are looking into a zero bug policy, but I wondered how best to represent this in sprint planning.
Should we be planning some 'empty' story points to cover this work? Does anyone else do this? If so how does it work for you?
We are looking into a zero bug policy, but I wondered how best to represent this in sprint planning.
Should we be planning some 'empty' story points to cover this work? Does anyone else do this? If so how does it work for you?
Focus on your Definition of Done and work to it. The key to Zero-Bugs is not in a wicked triage and fix process, the key is to not introducing them in the first place.
This starts with having a good definition of done, which includes all the technical steps to ensure the best code quality. For example, code reviews, automated tests, writing tests first and so on.
Then look at this post for the difference between a defect and "not done yet". A story isn't done until all tasks are complete, including tasks found while creating the story.
To get to a "bug zero goal" (which as CodeGnome points out, is a goal, not a reality) you then need to start looking into Continuous Integration/ Delivery. The shorter the time from code complete to deployed, the faster you can get feedback to fix things.
As for how to estimate/ account for it. Don't leave empty points. Instead, recognize that as you move into using a formal DoD you will probably need to spend more time on stories. So if you think something is a 5, maybe make it an 8 to represent the additional work to truly get it done. As you get better, you're estimates will get better as well.
Scrum certainly supports workflows that prioritize bug-fixing, but to be "Scrum" you must still adhere to the framework, especially as it relates to scope management and time boxing. Leverage the Definition of Done, rigorously inspect-and-adapt your estimation process, and add necessary items to the Product Backlog to cover development of a defect-reducing delivery pipeline to the project.
Should we be planning some 'empty' story points to cover this work? Does anyone else do this? If so how does it work for you?
While some teams do in fact leave spare capacity for unplanned work, this is not terribly Scrum-like. Instead, teams generally:
While the list above won't guarantee that you have no bugs, it does provide a reasonable framework within Scrum to implement your zero-bug policies. The rest is up to your policies, processes, and controls.