TrainingConferencesAbout UsContact UsAdvertiseSQE.com

StickyMinds.com: brain food for building better software

Join

Join

Clarify Your Search Criteria
Tips on Using Our Search Feature(s)
StickyMinds.com Home
ResourcesEventsTopicsPowerPassJobs
Software Testing & QA Online Community  >  Detail: Basics Revisited: Test Strategy



A StickyMinds.com Original
Article Picture
Basics Revisited: Test Strategy

By Fiona Charles

Send This Content to a FriendGet a Short Link to This ContentPrint This ContentSee User Comments About This Content

Summary: Many test strategy documents consist mainly of boilerplate and are far too long. Worse, they are missing an actual test strategy. Test consultant and contract test manager Fiona Charles describes what a test strategy should be and recommends using a more flexible medium for communicating it to project stakeholders.


Tricentis

I see many test strategy documents in my work with clients. Almost without exception, they are big—fifty or more pages—and stuffed with soporific boilerplate copied from one project to the next. Defect management process, test suspension and resumption criteria, entry and exit criteria, meaningless generic risks ... yawn ... again. One frequently used model even parrots textbook test definitions, from unit to systems integration to load.

I have several problems with test documents like these. In many organizational cultures, mandatory documents become confused with the things they are supposed to represent. A test strategy document is not a test strategy; it’s a document. It might or might not serve to communicate a strategy. The bigger and heavier a document is and the more replicated content it contains, the lower the likelihood it will convey anything important that people can take meaning from. In reality, the central ideas in most genuine test strategies can be expressed effectively in a couple of diagrams or a page or two of clear prose.

There’s a more basic problem. A big test strategy document rarely contains an actual strategy. That leads me to ask if, as testers, we really understand what “strategy” means.

I’ll come back to the documentation issues a little later. For now, let’s acknowledge that you need to communicate your test strategy to project stakeholders in some way and negotiate their agreement.

First principles – What Is a Test Strategy?

A strategy is the overarching direction or design of a campaign, whether that’s a marketing campaign, a football season, or a campaign of war.

A test strategy is the set of big-picture ideas embodying the overarching direction or design of a test effort. It’s the significant values that will inspire, influence and ultimately drive your testing, and the overall decisions you have made about ways and means of delivering on those values.

Note that was “overall” decisions. A strategy is not a detailed plan. It’s the design behind the plan that you, as a skilled tester, have thought about and developed.

Overarching Direction

Learning about the product and project, you develop ideas about how to test. What approaches are you going to use, and what potential test design do you already have in mind?

It’s unlikely you’ll be able to test everything in every way and to the same level of rigor. An essential strategy decision, therefore, is how to draw the boundaries for coverage and on what basis. (This is probably the most important element for stakeholders to understand.)

For example, will you prioritize coverage and types of testing based on risk? What do you mean by risk, and how will you identify and assess risks that could be mitigated by testing?

Who are your stakeholders? What does product quality mean to them in practical terms? How do they characterize the value they expect to get from the product? Not all stakeholders are equal—in most organizations, the concerns of some are more important than those of others. Organizations and individuals differ in their appetite for risk and their perception of what constitutes risk. These are critical considerations in determining what your test will cover and how.

Overarching facts, principles, and beliefs may drive test priorities or severely constrain the test. For example:

  • This product will be used by emergency services. People could die or suffer serious injury as a result of product bugs. Ease of use is critical for some features; others must produce fast and accurate results with no tolerance level for error.
  • The product is strategic to the business. Threats to the publicly advertised launch date will be catastrophic to the company’s reputation and share price.
  • The product will operate within a strictly regulated environment. Certain types of bugs could result in prosecution of the company’s executives.
  • The product is a website that will be hit on a specific date by thousands of users in an event-based marketing campaign. If it crashes or crawls, your company’s name will be mud and it will lose its biggest, most prestigious supplier.
Value descriptions like these provide the “why” for test strategy decisions. They may sound obvious, but stating project values up front gives stakeholders an opportunity to say whether you’ve based your strategy on the considerations that matter most to them.

Other strategy ideas will occur to you according to the risks, constraints, and opportunities you discover in exploring the project context. For example, would it make sense to use one or more high-level models, such as “financial year” or “customer experience lifecycle”? Will you use exploratory testing, pre-designed tests, or a mix? How might you sequence major test activities for optimum test value?

Communicating the Test Strategy

On most projects, negotiating agreement to your key decisions is essential for managing stakeholder expectations. Stakeholders need to know about barriers that could impede or prevent important testing, because they will have either to accept or remove them. Suppose you see no way to do year-end period testing on a financial system, or you find that company security rules prevent you running SQL queries on the central product database. If project timelines mean you can do only a superficial once-over feature confirmation on a complex application, say so up front and give stakeholders an opportunity to respond.

Rather than using a strategy document template to inform stakeholders, try to find a lightweight medium that will convey the central ideas clearly without the distraction of masses of detail. It could be the tool you’ve been using to work through your thinking. I have used one or some of: a mind map, sticky notes, a drawing on a board, a colorfully highlighted diagram, an outline document, or presentation slides. The choice depended on the organization I was working with and the nature of the test. Whatever medium you choose, it should work as a tool you can walk around with to talk to stakeholders, or use in meetings to promote discussion.

This isn’t to say that your existing template is useless, though it probably demands things you don’t need and ignores things you do need. You may be required to fill in its blanks for the final secure-it-in-the-vault artifact. But don’t start there. The template for a big document is a poor tool for promoting conversation and securing agreement to a strategy. I find it better not to constrain my thinking by starting with a template.

It’s About Thinking

The size and risk of what you have to deal with and how much is already known and acknowledged by the project will drive how much you do to outline your test strategy. (Don’t be surprised if you find yourself questioning some of what “everyone else” on the project believes.)

Whether it takes two days or forty, at the end of this process you will know your stakeholders and which values and principles are essential to your test. You will have defined the test’s high-level boundaries and approaches, and you will be in a position to draw stakeholders’ attention to any risks, issues or constraints that will impede testing within those boundaries, as well as any assumptions you feel able to make.

But don’t fall too heavily in love with your strategy, or create an expectation in your stakeholders that it’s fixed in stone. A test strategy can change substantially as the project changes and as you discover more about the product.

The key word here is “thinking.” Approach each test assignment as a new problem to solve, and recognize that you will be learning and solving problems to the end of the project. Even if you are testing a well-known product on a path you’ve traveled before, consider standing back and taking a fresh strategic look. It can stimulate new ideas that could improve your testing and save your project time and money.

Acknowledgements: Fiona thanks colleagues Anne-Marie Charrett, James Christie, Karen N. Johnson, James Lyndsay, John Owen Thomas, and Peter Welan for stimulating conversations and reviews that helped to inform this article.



About the Author
Fiona Charles is a Toronto-based test consultant and manager with thirty years of experience in software development and integration projects. Fiona is the editor of The Gift of Time, featuring essays by consultants and managers of various professions about what they've learned from Gerald M. Weinberg. Through her company, Quality Intelligence, Inc., Fiona works with clients in diverse industries to design and implement pragmatic test and test management practices that match their unique business challenges. Her experiential workshops facilitate tester learning by doing, either on the job or at conferences. Contact Fiona via her Web site at www.quality-intelligence.com.

Back to Top
 

StickyMinds.com Weekly Column From 5/9/2011 

Member Comments
Add Your CommentExpand Comments
 
Comment:    
by Srinivas Thodupunoor 5/26/2011

good article

 
 
Comment:    
by Mary Barnes 5/11/2011

Could you show us some of your mind maps, sticky notes, drawings, diagrams, outlines or slides, if we promise not to use them as templates?

Author's Response:
5/13/2011    
Thanks for the query, Mary. I've been thinking about how I might do that, and I'm afraid the short answer is, "Not easily" -- at least in this venue. The best way to share examples like this is through a workshop where we explore a particular context together and develop the test strategy and means of communicating it. I'm working on how and where to do that.

Meanwhile, there is a diagram example you could look at on my website. On pages 10 & 11 of the paper "Modeling Scenarios Using Data", are the 2 diagrams I used to communicate the strategy for the test of a Point of Sale system to the customer's CIO and other project stakeholders. Here's the URL for the paper: http://tinyurl.com/39ccgd7

 
 
Comment:    
by JeanAnn Harrison 5/10/2011

As always Fiona, wonderfully simplistic and to the point. I think what many people confuse is Test Strategy with Test Plan. I prefer to have 2 separate documents with one being the simple, basic Test Strategy and one with the details of how to go about planning the testing. The problem I see in regulated environments is that too many "Quality Assurance" people focus on filling out the paperwork and demand to fill out the template where in non regulated environments, taking notes and writing the notes into a readable format.

I also enjoyed how simple you kept this article: definition & way to communicate. Anyone can read...Read On

Author's Response:
5/11/2011    
Hi, JeanAnn. Good to hear from you!

Whether in regulated or non-regulated environments, I'm continually astonished by the emphasis many Quality Assurance people put on documentation for its own sake, and their apparent lack of interest in substance and content. I've sat through interminable reviews focusing on formatting quibbles. It doesn't have to be this way! (I've been a Quality Assurance manager; my concern and my team's concern was about the real work practitioners were doing to develop quality software, and the real thinking behind it.)

 
 
Comment:    
by Barry Farkas 5/10/2011

It boils down to Best Practices. I cringe when I hear those two words. We are conditioned to believe that by incorporating these Best Practices into every deliverable product we create, we will achieve some desireable state of completeness and standardization (can you say "consistency" Mr. Emerson?). Thank you, Fiona, for helping us get out of this boilerplate mentality that is stifling our ability to think and to do quality work in all of IT, not just testing.

Author's Response:
5/10/2011    
Thanks, Barry. The "Best Practices" mindset is certainly the rotten core of the problem. Good software development has always depended on thoughtful people using their brains. Boilerplate takes up effort we could -- and should -- be spending thinking.

 
 
Comment:    
by Kenneth Katz 5/10/2011

Terrific article. I have been trying to convey to my project teams that test planning is more than just filling in the blanks on the test plan template, without much success. This article articulates what I have wanted to say, but evidently have been unable to explain well enough.

Author's Response:
5/10/2011    
Thanks, Kenneth. This may not be true of your teams, but I think one of the big issues is that in many organizations nobody actually trains testers or test managers to plan or think about strategies. Instead, they give them templates to follow and expect the content to appear as if by magic. And so it does, but too often there's no thought or skill behind it.

What would happen if you took the templates away from a project team and asked them to come up with a strategy or plan they could communicate clearly in one or two pages (and present to you)?

 
 
Comment:    
by Sanat Sharma 5/10/2011

Nice thought Fiona. I, myself, have seen Test Strategy documents which are more than what is required from that doc in terms of information and pages. In most organizations, copying the contents of the previous release and update the document for the next release is an usual practice and from here, problem bobs up. Also, as you rightly said, creating mandatory documents become confused with the things they are supposed to represent.
-- Sanat Sharma

Author's Response:
5/10/2011    
Thanks for your comment, Sanat.

 
 
Comment:    
by Elaine Jancourtz 5/9/2011

Excellent article, clearly written and presented. I plan to use it in several ways 1)to help me converse with my stakeholders about testing issues 2) to help me present my views about how requirements should be written. The strategy needs to be based on requirements, but the requirements writer needs to keep the strategy in mind also.

Author's Response:
5/9/2011    
Thanks for your comment, Elaine. "I plan to use it in several ways..." -- music to a writer's ears! I'm pleased my article will be useful to you.

 
 
Comment:    
by John Wilson 5/9/2011

Fiona
So you've worked at our place and seen the endless unread tomes? ;-)
Thanks for an article I can now use to get down to the nitty gritty of a strategy, enthusing me to do so and saving countless trees.

Author's Response:
5/9/2011    
Thanks, John. Yep -- I've been there! :-) Or somewhere very like it.

Let me know how you get on. I'll be interested to hear how you and other readers fare in creating and communicating test strategies that really are strategies.

 
 
Comment:    
by Gerard Miller 5/9/2011

Ms Charles,

Congratulations on excellent writing. I've read that the most egregious errors in a project are made on the first day. A useful Test Strategy document can avoid that.

Seems there are two parts needed:

1) Have a Test Strategy. You defined the term so we know what we're talking about. "A strategy is the overarching direction or design ...".

2) Communicate to stakeholders. "a couple of diagrams or a page or two of clear prose". Emphatically agree. See Edward Tufte's (author of Visualizing information) "local comparisons within our eyespan, relying on an active eye to select and make...Read On

Author's Response:
5/9/2011    
Thanks for your comment, Mick. Tufte's work is exemplary for me, so it's great to hear him mentioned in comments on my article.

 
Back to Top



 
Ads By Google
What's This?
 
 



About Us   |   Contact Us   |   Terms & Conditions   |   Privacy Policy   |   RSS Feed



© 2013 StickyMinds.com. All rights reserved.
PNSQC

Tricentis



STARWEST