In today’s software development community, Use Cases are often frowned upon. A quick search on Google for “Use Cases Scrum” and you quickly find that they are put up against User Stories and quickly lose the fight. I believe in Use Cases because they force stakeholders and the development team to have the right discussions in a structured way. They also expose many things you will not think about when writing requirements in other ways.
But the art of writing Use Cases is dying. “Uncle Bob” Martin has said that it shouldn’t take longer than 15 minutes to teach someone how to write use cases. He’s wrong and unfortunately hyperbolic. But these are the Agile times we live in, when everything invented before the Protestant-like reformation is looked upon as sacrilege.
I believe in Scrum. I think it can wholly benefit organizations with small teams that need to be more nimble or agile. But I don’t think Scrum is exclusive from Use Cases. Here is the definition of a product backlog from the Bible of Scrum, The Scrum Guide:
The Product Backlog is an ordered list of everything that might be needed in the product and is the single source of requirements for any changes to be made to the product.
Notice it says requirements. The Scrum Guide does not say how to do requirements (User Stories come from XP), it just says that they need to be in the Product Backlog.
So this is where my proposal for Use Case – Driven Scrum starts. Put your Use Cases in the Product Backlog. Now one of the criticisms of Use Cases is that they are too much documentation and take too long to write. Well, don’t write them out then! Just start by identifying the Use Cases you should do (give only their title). For example, put the Use Case “Log into system” into the backlog, but don’t bother to detail it out at first.
Scrum practitioners know that undefined product backlog items belong at the bottom and as they move up in priority, they become better groomed as the following picture illustrates.
This leads to the second part of my proposal. Refine the Use Cases as they move up the backlog. Add the basic flow or maybe the primary actors. This becomes part of your Product Backlog grooming.
Finally, most full use cases with all their basic and alternative flows will not fit into one sprint. So the final part is to break them down into scenarios that will fit into one sprint. Mind you that use case flows and scenarios are not the same! The basic flow is always a scenario, but mixing in the alternative flows is where it gets interesting. J
The tactics of breaking product backlog items up really depends on the tool you use for tracking your work. Spreadsheets, Rally, and Team Foundation Server all have different ways to do this. I hope you’ve enjoyed this article and would love to hear your feedback below. Good luck in your journeys of software development!