Software testing metrics,issues,challenging,and significance
- 关键词
- software
原站著录信息
摘要
Contents List of Figures ................... xi List of Tables ......................... xvii Preface .................................xix 1 Introduction..........................1 1.1 Conclusions............................................ 1 1.2 What Has This…
Contents
List of Figures ................... xi
List of Tables ......................... xvii
Preface .................................xix
1
Introduction..........................1
1.1 Conclusions............................................ 1
1.2 What Has This Got to Do With Software? ............................... 1
1.3 If It Isn’t Planned, It Won’t Happen .............................. 2
1.4 Let’s Not Test.................................................. 2
1.5 Something to Do When You Really Hit Opposition........................... 5
1.6 Conventions ........................................... 7
1.7 Apologies ................................................ 8
1.8 Some Basics............................................ 8
1.9 The Players ........................................... 11
1.10 Quality Assurance and Quality Control .................................... 14
1.11 Processes, Tools, Products, and Standards ............................... 15
2
The Big Questions You Need Answers To .........................17
2.1 Why Do We Test?................................. 17
2.2 How Do We Test? ...................................... 18
2.3 When Do We Start Testing? .............................. 18
2.4 When Do We Stop Testing? .......................... 20
2.5 What Do We Test it Against? ......................... 21
2.6 What Do We Test it With? ...................... 22
2.7 Are We Getting Better or Worse at Finding Bugs?............................... 22
2.8 How Do We Measure Our Test Coverage? ......................................... 26
2.9 Are There Any More Embarrassing Questions? ................................... 28
3
Risk Management ........................................29
3.1 How to Manage Risk ................................ 30
3.2 A Worked Example................................... 35
3.3 Hazard Analyses and Testing ....................... 37
4
Test Planning and Management.............................39
4.1 Testing Principles.................................. 39
4.2 Laws .......................................... 41
4.3 Test Management Principles ...................... 42
4.4 Life-Cycles and Four-Wheel-Drive Karmas........... 43
4.5 Starting from Where You Are ........................ 56
4.6 Arguments You Need to Win.......................... 59 vi
Manage Software Testing
5
Testing and the Web........................................65
5.1 How Websites Work .................................... 66
5.2 Website Risks and Problems ............................ 67
5.3 Web Test Planning ......................................69
5.4 Web Performance.........................................71
5.5 Web Tests...............................................72
5.6 Monitoring Issues ......................................82
6
The Overall Test Life-Cycle.................................83
6.1 Initiation Phase........................................83
6.2 Requirements Analysis Phase.............................85
6.3 Architectural Definition Phase .........................87
6.4 Coding and Unit Testing.................................88
6.5 Software/Hardware Integration ......................... 88
6.6 Test Readiness Review ................................. 89
6.7 System-Testing Phase...................................89
6.8 Beta Testing ..........................................90
6.9 Certification- or Acceptance-Testing Phase ............. 90
6.10 Documentation, Help, and Training Phase .............. 91
6.11 Install, Coexist, Cutover, Support, and Evolution Phase ......... 91
7
Testing Processes and Infrastructure.........................93
7.1 Initiation.......................................... 93
7.2 Keeping the Configuration Management System in Order......... 94
7.3 Test Environment......................................96
7.4 Test Automation....................................... 97
7.5 Monitoring Test Progress ..............................101
7.6 Bug Management Process and Tool ...................101
7.7 Operational Profiles...............................109
7.8 Static Analyzers ..................................115
7.9 Dynamic Analyzers ................................119
8
Test Documents ........................................125
8.1 General ........................................... 125
8.2 Requirements Specification......................... 125
8.3 Test Strategy Document .............................130
8.4 Interface Specification ............................132
8.5 Test Plan .......................................... 133
8.6 Test Monitoring Document ............................ 142
8.7 Test Design Specification .......................... 148
8.8 Test Case Specification ........................... 149
8.9 Test Procedure Specification ...................... 151
8.10 Release Note ..................................... 152
8.11 Test Log .......................................... 153
8.12 Bug Report ......................................... 154
8.13 Test Summary ....................................... 156
8.14 Usability Test Summary ..............................157
8.15 Acceptance Certificate ..............................158
8.16 Security Risk Analysis Report ....................... 158
8.17 Risk Log............................................. 160
8.18 Daily Test Report ....................................... 160
8.19 Reporting Using TestDirector™ (now Quality CentER) .......... 162
8.20 Choosing a Set of Test Documents ......................... 166
8.21 Quality Plan ........................................... 167
9
The Test Team and Its Context.................................171
9.1 Recruiting the Test Team................................ 171 xix
Preface
This book is written for:
• Testers who want to become test managers and need to get a new perspective on all the things
they already know.
• Test managers who want answers to some very pressing questions all in one place.
• Project managers who want to know what they should expect from their test team, what they can
do with it, and what it will mean.
• Quality assurance staff who want to know what to look for in a testing environment and how to
measure it when they find it.
• Lecturers who realize that test management is another critical role which can mean the difference
between success and failure on a project, and which might form the basis of a new course.
• Investment analysts who want to know what might go wrong with their investments, why, and
how to stop it.
