Table of Contents. Preface... Glossary...

Similar documents
Contents INTRODUCTION...

Analysis. Techniques for. Racecar Data. Acquisition, Second Edition. By Jorge Segers INTERNATIONAL, Warrendale, Pennsylvania, USA

Integrated. Safety Handbook. Automotive. Ulrich Seiffert and Mark Gonter. Warrendale, Pennsylvania, USA INTERNATIONAL.

Contents. 1 Introduction. 2 Equipment Cooling and EC-Classes. 3 Room Cooling (RC) and Supplemental Cooling (SC) Classes. 4 Environmental Criteria

Fundamentals of Engineering High-Performance Actuator Systems. Kenneth W. Hummel

Contents. Preface... xiii Introduction... xv. Chapter 1: The Systems Approach to Control and Instrumentation... 1

About the authors xi. Woodhead Publishing Series in Energy. Preface

Manual for Assessing Safety Hardware

CONTENTS Duct Jet Propulsion / Rocket Propulsion / Applications of Rocket Propulsion / 15 References / 25

CONTROL VALVES Guy Borden, Jr., Editor Paul G. Friedman, Style Editor

Vibration, and Sound Quality

Regression Analysis of Count Data

COMPRESSOR STATION OPERATIONS

contents iii Figures and Table vi Foreword ix Acknowledgments xi Units of Measurement xii Introduction 1 Conventional Rotating System 3

Table of Contents. 1 Introduction. 2 Power System Requirements. Preface... xi

Design, Theory, Calculations

Preface... xi. A Word to the Practitioner... xi The Organization of the Book... xi Required Software... xii Accessing the Supplementary Content...

SYLLABUS. EASA 748/2012 Part-21 SUBPART F/G POA - ADVANCED (FLY Course code: 004-C-P) Issue of FLY EN

Nomenclature... xi Hydraulic Laws, Theorems, and Equations...xii

Jay Gundlach AIAA EDUCATION SERIES. Manassas, Virginia. Joseph A. Schetz, Editor-in-Chief. Blacksburg, Virginia. Aurora Flight Sciences

ELECTRICAL POWER and POWER ELECTRONICS

DEVELOPMENT OF COMPRESSED AIR POWERED ENGINE SYSTEM BASED ON SUBARU EA71 MODEL CHEN RUI

Generic Requirements for Outdoor Telephone Network Interface Devices (NIDs)

for Commercial Vehicles

INSTRUCTIONS FOR CONTINUED AIRWORTHINESS FAA-STC SE8987SW. Proposal to Increase Lycoming O-320-E2A Engine Power Rating from 150 hp to 160 hp

PETROLEUM LABORATORY TESTING AND OPERATIONS

Battery Power Management

Contents. 1 Introduction. 2 General Product Information. 3 General Test Requirements

Introduction and a Brief History of Electric Aircraft 1

Preface. Acknowledgments. List of Tables. Nomenclature: organizations. Nomenclature: acronyms. Nomenclature: main symbols. Nomenclature: Greek symbols

ELECTRIC DRIVES N.K. DE P.K. SEN

Introduction to Particulate Emissions 1. Gasoline Engine Particulate Emissions Introduction 3. References 7 About the Authors 8

Elements of Applied Stochastic Processes

Practical Variable Speed Drives and Power Electronics

Airship Technology. G. A. Khoury. J. D. Gillett Formerly of Brunei University and The Airship Association CAMBRIDGE UNIVERSITY PRESS

Schedule SP SOLAR PURCHASE (Experimental)

EUROPEAN COMMISSION DIRECTORATE-GENERAL TAXATION AND CUSTOMS UNION Customs Policy, Legislation, Tariff Customs Legislation TRANSIT MANUAL AMENDMENT

Table of Contents. Foreword...xiii. Chapter One Introduction, Objectives of the Guide...1

State Legislation, Regulation or Document Reference. Civil Aviation Rule (CAR) ; Civil Aviation Rules (CAR) Part 21. Appendix C.

Power Electronics Projects

The Practical Pumping Handbook

1. INTRODUCTION 3 2. COST COMPONENTS 17

Safety Code for Existing Elevators and Escalators

SYLLABUS. osmania university. Force Analysis of Four-Bar and Slider Crank Mechanisms. CHAPTER - 2 : DYNAMIC FORCE ANALYSIS

Guide to the IET Wiring Regulations

The Geometry of Involute Gears

UNIT 1 ELECTRICIAN S MATH AND BASIC ELECTRICAL FORMULAS...1 Introduction...1. UNIT 2 ELECTRICAL CIRCUITS...49 Introduction...49

INSTRUCTIONS FOR CONTINUED AIRWORTHINESS FAA-STC SE8987SW. Proposal to Increase Lycoming E2A Engine Power Rating from 150 hpto 160 hp

RSPO Principles and Criteria Lead Auditor Course.

GEARING. Theory of. Stephen. Kinetics, Geometry, and Synthesis. P. Radzevich. /Ov CRC Press yc*** J Taylor& Francis Croup Boca Raton

STATE UNIVERSITY OF NEW YORK COLLEGE OF TECHNOLOGY CANTON, NEW YORK COURSE OUTLINE MSPT 120 FRAME AND SUSPENSION SYSTEMS

Adaptive Logics and Dynamic Proofs. Mastering the Dynamics of Reasoning, with Special Attention to Handling Inconsistency.

ELE 454 Power Electronics. Lecture Notes Chapter I

SYLLABUS. osmania university UNIT - I UNIT - II UNIT - III UNIT - IV CHAPTER - 1 : PRINCIPLES OF ELECTRO-MECHANICAL ENERGY CONVERSION CHAPTER - 2 :

Torque steer effects resulting from tyre aligning torque Effect of kinematics and elastokinematics

Stationary Battery Basics

INSP Aerial Periodic Inspections

Automotive Transmissions

Chapter 1 Electrical Theory...1

Electrical Power Systems

SEMESTER -- I (Common to all branches) (Group A) TOTAL

: Material Description Quantity UOM

THE GLOBAL AUTOMOTIVE INDUSTRY. Edited by. Paul Nieuwenhuis Cardiff University, UK. Peter Wells Cardiff University, UK. WlLEY

Automotive Refinishing Technology

Fuel and Fuel System Microbiology-- Fundamentals,

NTRODUCTIONTO FACTS CONTROLLERS Theory, Modeling, and Applications

The professional title of the graduated student is: BACHELOR OF MUSIC (BMUS) IN ACCORDION PERFORMANCE I. SEMESTER

Contents. 1 Introduction (Gabriel Alexander Khoury) Basic Principles (Edwin Mowforth) Aerodynamics (Ian Cheeseman)...

Wegmans Fairfax Joseph B. Lookup Electrical System Existing Conditions Report & Building Load Summary Report. Appendix Tech Assignment # 2

For BIS Use Only Doc: CED 50(7436) BUREAU OF INDIAN STANDARDS

Knowledge of diagnosis and rectification of light vehicle engine faults

Knowledge of Diagnosis and Rectification of Light Vehicle Engine Faults

DEPARTMENT OF THE ARMY TECHNICAL MANUAL TECHNICAL MANUAL OPERATOR AND ORGANIZATIONAL MAINTENANCE MANUAL PUMP, CENTRIFUGAL, SELF-PRIMING,

BULLDOZER, EARTH MOVING: TANK MOUNTING, M9 ( )

ITT Technical Institute. ET3480T Power Systems Onsite Course SYLLABUS

-SQA- SCOTTISH QUALIFICATIONS AUTHORITY. Hanover House 24 Douglas Street GLASGOW G2 7NQ NATIONAL CERTIFICATE MODULE DESCRIPTOR

Performance Analysis of 3-Ø Self-Excited Induction Generator with Rectifier Load

AUT 163 AUTOMOTIVE FUNDAMENTALS SYLLABUS

COUNCIL OF THE EUROPEAN UNION. Brussels, 11 December /3/06 REV 3 ADD 1. Interinstitutional File: 2003/ 0153(COD) ENT 84 CODEC 561

PENNSYLVANIA STATE FIRE ACADEMY PUMPER - DRIVER/OPERATOR (PDO) SKILL STATIONS. Pumper -Driver / Operator (PDO) Skill Stations

ELECTRIC MOTOR DRIVES

Master of Engineering

IAE-101: Electrical Fundamentals for Non-Electrical Personnel

Public Works Operations Manual Standard Operating Procedures for Water and Sewer WS - B311 Sanitary Sewer Connection Repair

AD Table 3.--Goodrich Evacuation Systems Installed on Certain Airbus Model Airplanes

A Research, Science and Discovery based Polyurethane Technology company

Martin J. L. Turner. Expedition Mars. Published in association with. Chichester, UK

TECHNICAL MANUAL AVIATION UNIT AND AVIATION INTERMEDIATE MAINTENANCE MANUAL ENGINE, GAS TURBINE MODEL T55-L-714 NSN

The Shock Absorber Handbook Second Edition

The Role of Electricity Storage on the Grid each location requires different requirements

Unit AE01K Knowledge of Locating and Correcting Simple Electrical Faults in the Automotive Workplace

Knowledge of heavy vehicle transmission and driveline units and components

Table of Contents. CHAPTER 1 BASIC ELECTRICAL THEORY (Essential for Journeyman and Master s Licensing Exams)... 1

The Role of Infrastructure Connected to Cars & Autonomous Driving INFRAMIX PROJECT

WYOMING STORAGE TANK PROGRAM GALVANIC (SACRIFICIAL ANODE) CATHODIC PROTECTION SYSTEM EVALUATION

GUIDELINE FOR GLOVEBOXES THIRD EDITION AGS-G001 February 2007

OPERATOR'S MANUAL COMPONENT OF CRUSHING AND SCREENING PLANT: DIESEL AND ELECTRIC DRIVEN, WHEEL MOUNTED, 75 TON PER HOUR

DRILLING SYSTEM, WELL, ROTARY, TRUCK MOUNTED, AIR TRANSPORTABLE, 600 FEET CAPACITY MODEL LP-12 NSN

COMMISSION REGULATION (EU) / of XXX

Transcription:

Table of Contents Preface... Glossary... xi xv Chapter 1. Fundamentals of Testing... 1 1.1.Whyistestingnecessary?(FL1.1)... 1 1.1.1.Softwaresystemscontext... 1 1.1.2.Causesofsoftwaredefects... 3 1.1.3. Role of testing in software development, maintenance and operations... 5 1.1.4.Test and quality... 5 1.1.5.Terminology... 6 1.2.Whatistesting?(FL1.2)... 7 1.2.1.Originofdefects... 8 1.2.2.Commongoalsoftesting... 9 1.2.3.Examplesofobjectivesfortesting... 9 1.2.4.Testanddebugging... 10 1.3.Paradoxesandmainprinciples(FL1.3)... 11 1.3.1.Testingidentifiesthepresenceofdefects... 11 1.3.2.Exhaustivetestingisimpossible... 11 1.3.3.Earlytesting... 12 1.3.4.Defectclustering... 12 1.3.5.Pesticide paradox... 13 1.3.6.Testingiscontextdependent... 13 1.3.7.Absenceoferrorsfallacy... 14 1.4.Fundamentaltestprocess(FL1.4)... 14 1.4.1.Planning... 15 1.4.2.Control... 15

vi Fundamentals of Software Testing 1.4.3. Test analysis and design... 16 1.4.4.Testimplementation... 18 1.4.5.Testexecution... 19 1.4.6.Analysisofexitcriteria... 20 1.4.7.Reporting... 20 1.4.8.Test closure activities... 21 1.5.Psychology of testing (FL 1.5)... 22 1.5.1.Levelsofindependence... 23 1.5.2.Adaptationtogoals... 24 1.5.3.Destructiveorconstructive?... 25 1.5.4.Relational skills... 25 1.5.5.Changeofperspective... 26 1.6.Testersandcodeofethics(FL1.6)... 27 1.6.1.Public... 27 1.6.2.Customerandemployer... 28 1.6.3.Product... 29 1.6.4.Judgment... 30 1.6.5.Management... 31 1.6.6.Profession... 32 1.6.7.Colleagues... 33 1.6.8.Self... 33 1.7.Synopsisofthischapter... 34 1.8.Sampleexamquestions... 35 Chapter2. Testing Throughout the Software Life Cycle... 43 2.1.Softwaredevelopmentmodels(FL2.1)... 43 2.1.1.Sequentialmodels... 44 2.1.2.Iterativemodels(FL2.1.2)... 47 2.1.3.Incrementalmodel... 49 2.1.4.RAD... 50 2.1.5.Agilemodels... 52 2.1.6.Selectionofadevelopmentmodel... 56 2.1.7.Positioning tests.... 57 2.2.Testlevels(FL2.2)... 58 2.2.1.Componentleveltestingorcomponenttests... 59 2.2.2.IntegrationleveltestingorIntegrationtests... 60 2.2.3.Systemtests... 62 2.2.4.Acceptancetests... 64 2.2.5.Otherlevels... 66 2.3.Typesoftests(FL2.3)... 66 2.3.1.Functionaltests... 67 2.3.2.Non-functionaltests... 68

Table of Contents vii 2.3.3. Tests based on the structure or architecture of the software... 71 2.3.4.Testsassociatedwithchanges... 72 2.3.5.Comparisonsandexamples... 73 2.4.Testandmaintenance(FL2.4)... 74 2.4.1.Maintenancecontext... 75 2.4.2.Evolutivemaintenance... 76 2.4.3.Correctivemaintenance... 76 2.4.4. Retirement and replacement... 77 2.4.5.Regressiontestpolicies... 78 2.4.6.SLAvalidationandacceptance... 81 2.5.Oracles... 81 2.5.1.Problemswithoracles... 81 2.5.2.Sourcesoforacles... 82 2.5.3.Oracleusage... 82 2.6.Specificcases... 83 2.6.1.Performancetests... 83 2.6.2.Maintainability tests... 84 2.7.Synopsisofthischapter... 84 2.8.Sampleexamquestions... 85 Chapter 3. Static Techniques (FL 3.0)... 91 3.1.Statictechniquesandthetestprocess(FL3.1)... 91 3.2.Reviewprocess(FL3.2)... 94 3.2.1.Typesofreviews... 95 3.2.2.Roles and responsibilities during reviews... 100 3.2.3.Phasesofreviews... 103 3.2.4.Successfactorsforreviews... 116 3.2.5.Comparisonofthetypesofreviews... 117 3.3.Staticanalysisbytools(FL3.3)... 119 3.3.1.Typesofstaticanalysis... 120 3.3.2.Typesofdefectsthatcanbeidentified... 125 3.3.3.Dataflowanalysis... 126 3.4.Added value of static activities... 130 3.5.Synopsisofthischapter... 131 3.6.Sampleexamquestions... 131 Chapter 4. Test Design Techniques (FL 4.0).... 137 4.1.Thetestdevelopmentprocess(FL4.1)... 139 4.1.1.Terminology... 139 4.1.2. Traceability... 140 4.2.Categoriesoftestdesigntechniques(FL4.2)... 143 4.2.1.Blackbox,whitebox,orgraybox... 143

viii Fundamentals of Software Testing 4.2.2. Experience-based techniques... 145 4.2.3.Testcharacteristics... 145 4.2.4.Limitationsandassumptions... 146 4.3.Black-boxtechniques(FL4.3)... 147 4.3.1.Equivalence partitioning (FL 4.3.1)... 148 4.3.2.Boundaryvalueanalysis(FL4.3.2)... 155 4.3.3.Decisiontables(FL4.3.3)... 158 4.3.4.Othercombinationaltechniques... 162 4.3.5.State transition testing (FL 4.3.4)... 163 4.3.6.Usecasetesting(FL4.3.5)... 170 4.3.7.Limitationsandassumptions... 172 4.4.Structure-basedtechniques(FL4.4)... 172 4.4.1.Statementtestingandcoverage(FL4.4.1)... 174 4.4.2.Decisiontestingandcoverage(FL4.4.2)... 180 4.4.3.Otherstructure-basedtechniques(FL4.4.3)... 183 4.4.4.MC/DCcoverage(FL4.4.3)... 185 4.4.5.Limitationsandassumptionsofstructure-basedtesting... 186 4.4.6.Coveragelevelandexitcriteria... 187 4.5.Experience-basedtechniques(FL4.5)... 187 4.5.1.Attacks... 188 4.5.2.Defecttaxonomies... 189 4.5.3.Errorguessingandadhoctesting... 190 4.5.4.Exploratorytesting... 190 4.5.5.Limitationsandassumptions... 192 4.6.Choosingtesttechniques(FL4.6)... 193 4.7.Synopsisofthischapter... 194 4.8.Sampleexamquestions... 195 Chapter 5. Test Management (FL 5.0)... 209 5.1.Testorganization(FL5.1)... 209 5.1.1.Independencelevels... 209 5.1.2.Roles and responsibilities... 212 5.1.3.Humanandcontractaspects... 214 5.2.Testplanningandestimation(FL5.2)... 215 5.2.1.Planning and evaluation activities... 218 5.2.2.Test planning activities... 228 5.2.3.Testdocumentation... 229 5.2.4.Entry and exit criteria for test activities... 235 5.3.Testprogressmonitoringandcontrol(FL5.3)... 239 5.4.Reporting... 242 5.4.1.Whattoreport,towhom,andhow?... 242 5.4.2.Statisticsandgraphs... 244

Table of Contents ix 5.5. Transverse processes and activities... 246 5.5.1.Test data definition... 247 5.5.2.Configurationmanagement(FL5.4)... 247 5.5.3.Changemanagement... 248 5.6.Risksmanagement(FL5.5)... 248 5.6.1.Principlesofriskmanagement... 249 5.6.2.Projectrisksandproductrisks... 253 5.6.3.Introductiontoriskmanagement... 254 5.7.Defectmanagement(FL5.6)... 257 5.7.1.Introductiontodefectmanagement... 257 5.7.2.Defectidentification... 258 5.7.3.Actionsappliedtodefects... 263 5.7.4.Defectdisposition... 264 5.8.Synopsisofthischapter... 264 5.9.Sampleexamquestions... 265 Chapter 6. Tools support for Testing (FL 6.0)... 277 6.1.Typesoftesttools(FL6.1)... 278 6.1.1.Testtoolclassification... 278 6.1.2.Toolssupportingtestmanagement... 278 6.1.3.Toolssupportingrequirementmanagement... 279 6.1.4.Toolssupportingstatictests... 279 6.1.5.Modelingtools... 280 6.1.6.Toolssupportingtestdesignandtestdatacreation... 280 6.1.7.Toolssupportingtestexecution... 281 6.1.8.Toolssupportingtestenvironmentmanagement... 281 6.1.9.Toolssupportingtestdatacomparison... 282 6.1.10.Toolssupportingtestcoveragemeasurement... 282 6.1.11.Othertestsupportingtools... 283 6.2.Assumptionsandlimitationsoftesttools(FL6.2)... 283 6.2.1.Advantagesandrisksofthetools... 284 6.2.2.Specificconsiderationsforsometools... 285 6.3.Selectingandintroducingtoolsinanorganization(FL6.3)... 289 6.3.1.Mainprinciples... 290 6.3.2.Toolsselectionprocess... 290 6.3.3.Testtoolimplementation... 293 6.3.4.Tobuildortobuytesttools?... 295 6.4.Synopsisofthischapter... 295 6.5.Sampleexamquestions... 296

x Fundamentals of Software Testing Chapter 7. Mock Exam.... 301 Chapter 8. Templates and Models... 315 8.1.Mastertestplan... 315 8.2.Testplan... 317 8.2.1. Test plan as per IEEE 829-1998... 317 8.2.2. Test plan as per IEEE 829-2008... 317 8.3.Testdesigndocument... 319 8.3.1.Test design specifications as per IEEE 829-1998... 319 8.3.2. Test design document as per IEEE 829-2008... 319 8.4.Testcase... 320 8.4.1.Test case document as per IEEE 829-1998... 320 8.4.2.Test case document as per IEEE 829-2008... 320 8.5.Testprocedure... 321 8.5.1.TestproceduredocumentasperIEEE829-1998... 321 8.5.2.TestproceduredocumentasperIEEE829-2008... 321 8.6.Testlog... 322 8.6.1. Test log as per IEEE 829-1998... 322 8.6.2. Test log as per IEEE 829-2008... 322 8.7.Defectreport... 322 8.7.1.DefectreportasperIEEE829-1998... 322 8.7.2.DefectreportasperIEEE829-2008... 323 8.8.Testreport... 324 8.8.1.Test report as per IEEE 829-1998... 324 8.8.2. Interim test report as per IEEE 829-2008... 324 8.8.3. Level test report as per IEEE 829-2008... 325 8.8.4. Master test report as per IEEE 829-2008... 325 Chapter 9. Answers to the Questions... 327 9.1.Answerstotheendofchapterquestions... 327 9.2.Correctanswerstothesamplepaperquestions... 329 Bibliography... 331 Index... 335