You're Doing It Wrong: Done-Done
When the module is actually done, final done, done-done as they say in agile.
Join the DZone community and get the full member experience.Join For Free
this series is about how to do stuff right by explaining why we do those things we do. if you do and get the wrong results, you might be doing it wrong.
last time , we talked about the definition of done. we use is as vision of where we want to be at the end of the iteration.
the question is: what happens if we’re not completely done?
the truth is if we’re using the definition of done as a measurement, rather than a guiding light, we’ll often be disappointed. and by “we” i mean the business side.
because, if you remember, the dod is one more tool to build trust between the two sides, business and development. it also helps to clear up assumptions, get specific examples and make sure everyone on the same page.
but then things happen. a lot of things can happen inside the iteration, which may lead to some surprises at the end.
while the dod may be clear in the beginning, we still find things out as we work. sometimes we don’t get answers or decide the wrong way, by ourselves or in our group. the result is a difference between what was expected and what was built.
change of heart / mind / requirements
people change their mind all the time. new information comes in, priorities change, and suddenly what we know “now” is different than the original dod. sometimes the dod gets redefined, sometimes it’s just talked about, and then at the end, people get surprised.
part of the new information comes from using the product. if an early preview is available, it may change the direction of what we’re going to build by the end of the iteration. that’s a good thing for the people in the loop. for others – not so much.
things take longer
they always do ,and what that happens, we need to trim down the content. once more, the new dod may not be clear to all, maybe not updated, and the idea of what is done gets more confusing.
quality is not good enough
and my favorite functionality is done, but quality is not good enough – that happens a lot. like, “done with two open bugs.”
you need to remember: there is always an expectation that “done” means no bugs. no matter how much experience everyone involved has. any bugs (no matter how small or insignificant), cause some erosion of trust. they shouldn’t, but they do.
ok, now what?
so now we’re left with a question: what do we do? is it done? is there a new “done with bugs” status? do we call the current ticket done and open a new ticket for the next iteration?
let’s start with what you shouldn’t do: don’t call it done if it’s obviously not. that includes “dev done” but not tested. or half-tested. or coded, but no unit tests. or not reviewed by product. it’s not done.
the next thing is deciding what to do: stop working on it, continue working and fix it, redefine what done is, decide how much you’re going to invest in completing something that has value. then communicate. everyone should be on the same page about what still needs to be done, and what the end result would look like.
it could be that you’re still aiming to release the story as-is (with the open bugs, or less scope). maybe quality is not important right now. or it’s good enough by your standards (again, if your standards include code review, but it wasn’t reviewed, it’s not done).
done should mean ready to ship (or preferably shipped). that should be the measuring stick. it may be you intend to fix the two open bugs in the next iteration. but that means you’re not done yet.
can i have some bureaucracy too?
so that the deciding part. but should we mark the story done? open a new story? or bug? or task? how do we track the leftovers?
good question. here’s a better one: why do we need to track the leftovers for?
apart from closure and accomplishment, declaring a story done is important for measuring velocity. there’s a whole “you’re doing it wrong” post or two dedicated to velocity coming up, but for now the important thing is the only thing that knowing when a story is done, is to help you with future projection.
the points of how many stories per iteration are done or not don’t really matter. (i promise to discuss this on the velocity post). what matters is how long the work actually took. this is what you need to track.
one more thing: don’t compare how much it took compared to the initial estimations. the only thing you can learn from that is how much you suck at estimations, and i can tell you that anyways.
brilliant minds have suggested the new “done, done, done” definition as opposed to regular “done” that is really not. but really, there is only one kind of done, and we recognize it when we see it.
Published at DZone with permission of Gil Zilberfeld, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.