




























































































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!





























































































PUBLISHER Daniel Sayre SENIOR PRODUCTION EDITOR Lisa Wojcik EDITORIAL ASSISTANT Lindsay Murdock COVER DESIGNER Madelyn Lesure COVER PHOTO Rick Fischer/Masterfile WILEY 200 TH ANNIVERSARY LOGO DESIGN Richard J. Pacifico This book was typeset by the authors using pdfLATEXand printed and bound by Malloy Lithographing. The cover was printed by Phoenix Color Corp. This book is printed on acid free paper. •
Copyright c 2008 John Wiley & Sons, Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc. 222 Rosewood Drive, Danvers, MA 01923, website www.copyright.com. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030-5774, (201) 748-6011, fax (201) 748-6008, website http://www.wiley.com/go/permissions.
To order books or for customer service please, call 1-800-CALL WILEY (225-5945).
ISBN-13 978-0-471-45593- Printed in the United States of America 10 9 8 7 5 6 4 3 2 1
List of Figures xi
x CONTENTS
xvi LIST OF TABLES
This book addresses software test and analysis in the context of an overall effort to achieve quality. It is designed for use as a primary textbook for a course in software test and analysis or as a supplementary text in a software engineering course, and as a resource for software developers.
The main characteristics of this book are:
One cannot “test quality into” a badly constructed software product, but neither can one build quality into a product without test and analysis. The goal of acceptable quality at acceptable cost is both a technical and a managerial challenge, and meeting the goal requires a grasp of both the technical issues and their context in software development.
xvii
xix
nical background for many testing and analysis methods. Those interested in particular methods may proceed directly to the relevant chapters in Part III of the book. Where there are dependencies, the Required Background section at the beginning of a chap- ter indicates what should be read in preparation. Part IV discusses how to design a systematic testing and analysis process and incorporates it into an overall development process, and may be read either before or after Part III.
Readers new to the field of software test and analysis can obtain an overview by reading Chapters
1 Software Test and Analysis in a nutshell 2 A Framework for Test and Analysis 4 Test and Analysis Activities within a Software Process 10 Functional Testing 11 Combinatorial Testing 14 Model-Based Testing 15 Testing Object-Oriented Software 17 Test Execution 18 Inspection 19 Program Analysis 20 Planning and Monitoring the Process
This book can be used in an introductory course in software test and analysis or as a supplementary text in an undergraduate software engineering course.
An introductory graduate-level or an undergraduate level course in software test and analysis can cover most of the book. In particular, it should include
For a course with more emphasis on techniques than process, we recommend
xx Preface
For a stronger focus on software process and organizational issues, we recommend
When used as a supplementary text in an undergraduate software engineering course, Chapters 1 (Software Test and Analysis in a Nutshell), and 2 (A Framework for Test and Analysis) can provide a brief overview of the field. We recommend completing these two essential chapters along with either Chapter 4, or a selection of chapters from Part III, or both, depending on the course schedule. Chapter 4 (Test and Analysis Activities within a Software Process) can be used to understand the essential aspects of a quality process. The following chapters from Part III will help students grasp essential techniques: