Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Software Test Design

You're reading from   Software Test Design Write comprehensive test plans to uncover critical bugs in web, desktop, and mobile apps

Arrow left icon
Product type Paperback
Published in Dec 2022
Publisher Packt
ISBN-13 9781804612569
Length 426 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Simon Amey Simon Amey
Author Profile Icon Simon Amey
Simon Amey
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1 – Preparing to Test
2. Chapter 1: Making the Most of Exploratory Testing FREE CHAPTER 3. Chapter 2: Writing Great Feature Specifications 4. Chapter 3: How to Run Successful Specification Reviews 5. Chapter 4: Test Types, Cases, and Environments 6. Part 2 – Functional Testing
7. Chapter 5: Black-Box Functional Testing 8. Chapter 6: White-Box Functional Testing 9. Chapter 7: Testing of Error Cases 10. Chapter 8: User Experience Testing 11. Chapter 9: Security Testing 12. Chapter 10: Maintainability 13. Part 3 – Non-Functional Testing
14. Chapter 11: Destructive Testing 15. Chapter 12: Load Testing 16. Chapter 13: Stress Testing 17. Conclusion
18. Index 19. Other Books You May Enjoy Appendix – Example Feature Specification

Understanding the test activities

When performing system testing, there are four main activities. Each of them interacts and feeds into all the others, as shown in the following diagram:

Figure 1.7 – The main test activities and their interactions

Figure 1.7 – The main test activities and their interactions

Test design includes all the information gathering and preparation activities performed before you begin testing, excluding exploratory testing, which is significant enough to have its own category. Test design means reviewing all the available information for this feature to plan your testing. The written materials you base your testing on are collectively known as the test basis and may include documents such as the following:

  • User stories
  • Specifications
  • User interface designs
  • Technical design documents
  • Competitive research

These documents help show the new behavior, although you will need to add extra details yourself. This will be described further in Chapter 2, Writing Great Feature Specifications. Even the written information is insufficient and needs to be augmented with practical experience of the feature, which comes from exploratory testing.

Exploratory testing is an oddity. Technically, it is part of the test design since its main focus is gathering information to inform future testing. However, it occurs relatively late in the process, when there is code ready to be tested, and unlike the rest of the test design, it involves testing and potentially finding bugs. Because of this dual role, it gets its own category.

With the information from the test basis and exploratory testing, you can document the feature specification and the test plan based on it. This should exhaustively describe a feature’s behavior, covering all possible eventualities.

Important note

The detailed testing then methodically runs the entire test plan. That may involve manual testing or writing and running automated tests. This book does not describe how to run your tests; other titles in the Packt library have excellent descriptions of those possibilities. This book focuses on the test design to show what tests you should run.

The final step is further documentation, this time of your test results. This includes all the bugs you need to raise and describing the tests that have passed.

These are the main activities a tester performs. There are other important jobs around planning, including allocating personnel and resources, estimating timescales, and scheduling work. Those are not shown in the preceding diagram and are out of scope for this book because they primarily require skills in project management. They must also be in place to run a successful test project, but here, I am concentrating on the details of what testing is required so that you can plan these activities as accurately as possible.

Each of those four test activities feeds back into the others. Designing tests is necessary before they can be documented and run, but the test results also show where more tests are needed. Some test planning is essential for exploratory testing, but exploratory testing also shows which tests need to be designed and executed for complete coverage. Documenting the feature specification should start before exploratory testing so that you know what changes to expect. However, it can only be finished once exploratory testing is complete, to answer any questions that arise.

Where in those interrelated activities should we begin? As you can see from the title of this chapter, I believe exploratory testing is a good place to start. There will be specifications and planning before that, but exploratory testing is the first test task you can finish. With that in place, you can aim to complete the specification, the test plan design, and the detailed testing itself. Because of that unique attribute, we will start with it here.

For each part of the feature, testing should move between those different test activities and feed back to the other design tasks of writing specifications, implementing, and developer testing described previously. How do these tasks fit together, and how do they progress toward the goal of releasing a well-specified and tested feature? The following section describes the ordered flow of activities and their progression.

You have been reading a chapter from
Software Test Design
Published in: Dec 2022
Publisher: Packt
ISBN-13: 9781804612569
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime