O'Reilly logo

Lessons Learned in Software Testing: A Context-Driven Approach by Bret Pettichord, James Bach, Cem Kaner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Planning the Testing Strategy

The test plan is the set of ideas that guides your test process. We use the term test strategy to refer to the set of ideas that guides your test design, throughout the project. Test strategy is an important part of a good test plan. It is the connection between your testing and your mission. The textbooks have plenty to say about the logistics and work products of testing, but not so much about strategy so that will be our focus in this chapter.

Lesson 274: Three basic questions to ask about test strategy are "why bother?", "who cares?", and "how much?"

Ultimately there is only one reason you test: Something important might go wrong. Your test process exists to identify investigate, and report the risks that the product may fail. That's why you need to ask three questions, repeatedly, about your test strategy:

  • Why bother? Testing is expensive. Don't include activities in your strategy unless they address a risk that matters enough to spend time testing.

  • Who cares? Reasons to test are not laws of nature; they're rooted in the feelings and values of people who matter. Don't include activities in your strategy unless they serve somebody's interest.

  • How much? Some strategies are much easier to say than do. "We will test all combinations of printer features" is one short sentence that launches a thousand tests (or a hundred thousand). How much of that are you really going to do?

Lesson 275: There are many possible test strategies.

Test strategy is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required