How Agile Changes Testing, Part 1
Hear Johanna Rothman's perspective on how agile methodologies affect testing and check out her templates for what you might need in a project, including the system test plan.
Join the DZone community and get the full member experience.Join For Free
last week, i attempted to have a twitter conversation about agile and testing. i became frustrated because i need more than 140 characters to explain.
this is my general agile picture. for those of you can’t see what i’m thinking, the idea is that a responsible person (often called a product owner) gathers the requirements for the project. the cross-functional product development team works on some of those features (which i like as small stories) and outputs small chunks of a working product that have value to the customer. you might or might not have a customer with you. the product owner either is the customer or takes the customer role.
after some number of features are completed, the team demonstrates the features and reflects on the project and the team’s process. they get more features from the po.
now, let’s contrast agile with more traditional planning and testing.
if you used a phase-gate or a waterfall life cycle, you were accustomed to planning the entire project—including system test plans—at the beginning. you predicted what you needed to do.
if you were a tester, you often discovered that what you planned at the beginning was not what you needed by the time it was time for you to test. you might have been interrupted by the need to test current projects, with the promise you would return to this one. testers were often at the end and possibly delayed by not-quite-finished work in flight.
if you could work on this project, you wrote a system test plan. in addition, you might have written system test specifications, designed test cases, and maybe even documented test cases. why? so you wouldn’t forget what to do. and, your customer (management, maybe a real customer) would want to know what you had been doing all along and what they could expect. you planned for the future.
in agile, we don’t do a ton of upfront planning. i like to plan for no more than a couple of days, including generating the initial backlog for a cross-functional team to work on. yes, two days. more planning might easily be a waste. what might you do in those two days?
- write a project charter as a team, which includes the project vision and release criteria.
- generate a story map or product backlog for the first release’s worth of stories. (if you read my roadmap posts, you know i like internal releases at least as often as every month. i prefer releasing every day. i’ll take visual working software at least once a month.)
- if you are a new team, you might develop working agreements and a definition of done.
do you need a system test plan? maybe. i often discover that when we discuss the project charter, we might say something like, “we want to focus our testing in these areas,” or “these are the areas of high risk that we can see now .” my system test plan is still only one page. (see the manage it templates for all my templates of what you might need in a project, including the system test plan.)
now, you start the project. what happened to all that test planning and test plans and test cases? they go with the stories—if you need that level of planning. see part 2 .
Published at DZone with permission of Johanna Rothman, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.