Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-thh2z Total loading time: 0 Render date: 2024-08-07T07:20:58.625Z Has data issue: false hasContentIssue false

2 - An Overview of Testing

Published online by Cambridge University Press:  03 May 2011

John Watkins
Affiliation:
IBM Software Group, UK
Simon Mills
Affiliation:
Ingenuity System Testing Services Ltd., UK
Get access

Summary

“As we strive to implement the new features of our applications, there is one thing we can say with absolute certainty – that at the same time, we also introduce new defects.”

Introduction

This chapter provides an overview of testing to provide an understanding of what testing is and why it is such a challenge. It also emphasizes that whenever we test software, the process must be made as efficient and effective as possible.

Readers familiar with the need for efficient and effective testing may not need to read this chapter.

The Challenge of Testing

So, just how difficult is testing? To help answer this question, consider the following example.

Imagine we have a requirement to test a simple function, which adds two, thirty-two bit numbers together and returns the result. If we assume we can execute 1,000 test cases per second, how long will it take to thoroughly test this function?

If you guessed seconds, you are way out. If you guessed minutes, you are still cold. If you guessed hours, or days, or even weeks you are not even slightly warm. The actual figure is – 585 million years.

But surely this is a daft example. Nobody in his or her right mind would test such a function by trying out every single possible value! In practice, we would use some formal test design techniques such as boundary value analysis and equivalence partitioning to help us select specimen data for our test cases (see Chapter 3 for details of test design techniques).

Type
Chapter
Information
Testing IT
An Off-the-Shelf Software Testing Process
, pp. 9 - 15
Publisher: Cambridge University Press
Print publication year: 2010

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×