Software testing:
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Cambridge [u.a.]
Cambridge Univ. Press
2012
|
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Beschreibung: | Includes bibliographical references |
Beschreibung: | XXII, 626 S. Ill., graph. Darst. |
ISBN: | 9781107012967 |
Internformat
MARC
LEADER | 00000nam a2200000zc 4500 | ||
---|---|---|---|
001 | BV040317467 | ||
003 | DE-604 | ||
005 | 20131010 | ||
007 | t | ||
008 | 120718s2012 xxkad|| |||| 00||| eng d | ||
010 | |a 2011012053 | ||
020 | |a 9781107012967 |c hardback |9 978-1-107-01296-7 | ||
035 | |a (OCoLC)799090081 | ||
035 | |a (DE-599)BVBBV040317467 | ||
040 | |a DE-604 |b ger |e aacr | ||
041 | 0 | |a eng | |
044 | |a xxk |c GB | ||
049 | |a DE-703 |a DE-92 | ||
050 | 0 | |a QA76.76.T48 | |
082 | 0 | |a 005.1/4 | |
084 | |a ST 233 |0 (DE-625)143620: |2 rvk | ||
100 | 1 | |a Singh, Yogesh |e Verfasser |4 aut | |
245 | 1 | 0 | |a Software testing |c Yogesh Singh |
264 | 1 | |a Cambridge [u.a.] |b Cambridge Univ. Press |c 2012 | |
300 | |a XXII, 626 S. |b Ill., graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
500 | |a Includes bibliographical references | ||
650 | 4 | |a Computer software |x Testing | |
650 | 4 | |a Computer software |x Quality control | |
650 | 0 | 7 | |a Testen |0 (DE-588)4367264-4 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Software |0 (DE-588)4055382-6 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Software |0 (DE-588)4055382-6 |D s |
689 | 0 | 1 | |a Testen |0 (DE-588)4367264-4 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Bayreuth |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025172151&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
999 | |a oai:aleph.bib-bvb.de:BVB01-025172151 |
Datensatz im Suchindex
_version_ | 1804149342297128960 |
---|---|
adam_text | Contents
List of Figures
List of Tables
Preface
Acknowledgements
1.
Introduction
1.1
Some
Software Failures
1.
1.1
The Explosion of the
Ariane 5
Rocket
1.1.2
The Y2K Problem
.1.3
The USA Star-Wars Program
1.1.4
Failure of London Ambulance System
1.1.5
USS
Yorktown
Incident
1.1.6
Accounting Software Failures
1.1.7
Experience of Windows XP
1.2
Testing Process
1.2.1
What is Software Testing?
1.2.2
Why Should We Test?
1.2.3
Who Should We Do the Testing?
1.2.4
What Should We Test?
1.3
Some
Terminologies
1.3.1
Program and Software
1.3.2
Verification and Validation
1.3.3
Fault, Error, Bug and Failure
1.3.4
Test, Test Case and Test Suite
.3.5
Deliverables and Milestones
1.3.6
Alpha, Beta and Acceptance Testing
.3.7
Quality and Reliability
Xl
XV
xxi
xxiii
1
1
2
3
3
3
3
4
4
5
14
15
16
19
19
20
21
21
22
22
23
iv Contents
1.3.8
Testing,
Quality
Assurance
and Quality
Control
23
1.3.9
Static and Dynamic Testing
23
1.3.10
Testing and Debugging
24
1.4
Limitations of Testing
24
1.4.1
Errors in the Software Requirement and Specification Document
24
1.4.2
Logical Bugs
24
1.4.3
Difficult to Measure the Progress of Testing
26
1.5
The V Shaped Software Life Cycle Model
26
1.5.1
Graphical Representation
27
1.5.2
Relationship of Development and Testing Parts
27
Multiple Choice Questions
28
Exercises
34
Further Reading
35
2.
Functional Testing
37
2.1
Boundary Value Analysis
38
2.1.1
Robustness Testing
43
2.1.2
Worst-Case Testing
44
2.1.3
Robust Worst-Case Testing
46
2.1.4
Applicability
48
2.2
Equivalence Class Testing
63
2.2.1
Creation of Equivalence Classes
63
2.2.2
Applicability
65
2.3
Decision Table Based Testing
81
2.3.1
Parts of the Decision Table
81
2.3.2
Limited Entry and Extended Entry Decision Tables
82
2.3.3
Do Not Care Conditions and Rule Count
82
2.3.4
Impossible Conditions
83
2.3.5
Applicability
83
2.4
Cause-Effect Graphing Technique
96
2.4.1
Identification of Causes and Effects
97
2.4.2
Design of Cause-Effect Graph
97
2.4.3
Use of Constraints in Cause-Effect Graph
97
2.4.4
Design of Limited Entry Decision Table
99
2.4.5
Writing of Test Cases
99
2.4.6
Applicability
99
Multiple Choice Questions
102
Exercises
105
Further Reading
108
3.
Essentials of Graph Theory
110
3.1
What is a Graph?
110
3.1.1
Degree of a Node
112
3.1.2
Regular Graph
113
Contents
v
3.2 Matrix
Representation of Graphs
113
3.2.1
Incidence Matrix
114
3.2.2
Adjacency Matrix
114
3.3
Paths and Independent Paths
116
3.3.1
Cycles
117
3.3.2
Connectedness of a Graph
]
ι η
3.4
Generation of a Graph from Program
123
3.4.1
Program Graphs
124
3.4.2
DD Path Graphs
127
3.5
Identification of Independent Paths
144
3.5.1
Cyclomatic Complexity
144
3.5.2
Graph Matrices
150
Multiple Choice Questions
159
Exercises
161
Further Reading
163
4.
Structural Testing
165
4.1
Control Flow Testing
165
4.1.1
Statement Coverage
166
4.1.2
Branch Coverage
167
4.1.3
Condition Coverage
167
4.1.4
Path Coverage
167
4.2
Data Flow Testing I73
4.2.1
Define/Reference Anomalies
174
4.2.2
Definitions
174
4.2.3
Identification of
du
and dc Paths
175
4.2.4
Testing Strategies Using du-Paths
175
4.2.5
Generation of Test Cases
176
4.3
Slice Based Testing
197
4.3.1
Guidelines for Slicing
197
4.3.2
Creation of Program Slices
198
4.3.3
Generation of Test Cases
202
4.4
Mutation Testing
212
4.4.1
Mutation and Mutants
212
4.4.2
Mutation Operators
216
4.4.3
Mutation Score
216
Multiple Choice Questions
223
Exercises
226
Further Reading
228
5.
Software Verification
230
5.1
Verification Methods
230
5.1.1
Peer Reviews
231
vi
Contents
5.1.2
Walkthroughs
231
5.1.3
Inspections
231
5.1.4
Applications
232
5.2
Software Requirements Specification (SRS) Document Verification
233
5.2.1
Nature of the SRS Document
233
5.2.2
Characteristics and Organization of the SRS Document
233
5.2.3
SRS Document Checklist
235
5.3
Software Design Description (SDD) Document Verification
238
5.3.1
Organization of the SDD Document
239
5.3.2
The SDD Document Checklist
239
5.4
Source Code Reviews
241
5.4.1
Issues Related to Source Code Reviews
241
5.4.2
Checklist of Source Code Reviews
242
5.5
User Documentation Verification
243
5.5.1
Review Process Issues
244
5.5.2
User Documentation Checklist
244
5.6
Software Project Audit
245
5.6.1
Relevance Scale
246
5.6.2
Theory and Practice Scale
246
5.6.3
Project Audit and Review Checklist
246
5.7
Case Study
257
Multiple Choice Questions
279
Exercises
282
Further Reading
283
6.
Creating Test Cases from Requirements and Use Cases
285
6.1
Use Case Diagram and Use Cases
285
6.1.1
Identification of Actors
286
6.1.2
Identification of Use Cases
287
6.1.3
Drawing of Use Case Diagram
288
6.1.4
Writing of Use Case Description
290
6.2
Generation of Test Cases from Use Cases
292
6.2.1
Generation of Scenario Diagrams
293
6.2.2
Creation of Use Case Scenario Matrix
294
6.2.3
Identification of Variables in a Use Case
295
6.2.4
Identification of Different Input States of a Variable
296
6.2.5
Design of Test Case Matrix
296
6.2.6
Assigning Actual Values to Variables
296
6.3
Guidelines for generating validity checks
316
6.3.1
Data Type
316
6.3.2
Data Range
316
6.3.3
Special Data Conditions
316
6.3.4
Mandatory Data Inputs
316
6.3.5
Domain Specific Checks
316
6.4
Strategies for Data Validity
317
6.4.1
Accept Only Known Valid Data
317
Contents
vii
6.4.2
Reject Known Bad Data
322
6.4.3
Sanitize All Data
322
6.5
Database Testing
326
Multiple Choice Questions
33
j
Exercises
333
Further Reading
334
7.
Selection, Minimization and Prioritization of Test Cases for
Regression Testing
335
7.1
What is Regression Testing?
335
7.1.1
Regression Testing Process
336
7.1.2
Selection of Test Cases
337
7.2
Regression Test Cases Selection
339
7.2.1
Select All Test Cases
339
7.2.2
Select Test Cases Randomly
339
7.2.3
Select Modification Traversing Test Cases
339
7.3
Reducing the Number of Test Cases
340
7.3.1
Minimization of Test Cases
340
7.3.2
Prioritization of Test Cases
341
7.4
Risk Analysis
342
7.4.1
What is Risk?
342
7.4.2
Risk Matrix
343
7.5
Code Coverage Prioritization Technique
346
7.5.1
Test Cases Selection Criteria
347
7.5.2
Modification Algorithm
347
7.5.3
Deletion Algorithm
352
Multiple Choice Questions
З6З
Exercises
364
Further Reading
365
8.
Software Testing Activities
368
8.1
Levels of Testing
З68
8.1.1
Unit Testing
369
8.1.2
Integration Testing
37O
8.1.3
System Testing
373
8.1.4
Acceptance Testing
373
8.2
Debugging
374
8.2.1
Why Debugging is so Difficult?
374
8.2.2
Debugging Process
375
8.2.3
Debugging Approaches
377
8.2.4
Debugging Tools
378
8.3
Software Testing Tools
379
8.3.1
Static Software Testing Tools
379
viii Contents
8.3.2 Dynamic
Software
Testing
Tools 381
8.3.3
Process Management Tools
382
8.4
Software Test Plan
382
Multiple Choice Questions
383
Exercises
386
Further Reading
387
9.
Object Oriented Testing
389
9.1
What is Object Orientation?
389
9.1.1
Classes and Objects
390
9.1.2
Inheritance
391
9.1.3
Messages, Methods, Responsibility, Abstraction
393
9.1.4
Polymorphism
394
9.1.5
Encapsulation
394
9.2
What is Object Oriented Testing?
395
9.2.1
What is a Unit?
395
9.2.2
Levels of Testing
395
9.3
Path Testing
396
9.3.1
Activity Diagram
396
9.3.2
Calculation of Cyclomatic Complexity
400
9.3.3
Generation of Test Cases
401
9.4
State Based Testing
404
9.4.1
What is a State Machine?
404
9.4.2
State Chart Diagram
406
9.4.3
State Transition Tables
407
9.4.4
Generation of Test Cases
408
9.5
Class Testing
411
9.5.1
How Should We Test a Class?
412
9.5.2
Issues Related to Class Testing
412
9.5.3
Generating Test Cases
412
Multiple Choice Questions
415
Exercises
417
Further Reading 418
10.
Metrics and Models in Software Testing
420
10.1
Software Metrics
420
10.1.1
Measure, Measurement and Metrics
420
10.1.2
Applications
421
10.2
Categories of Metrics
422
10.2.1
Product Metrics for Testing
422
10.2.2
Process Metrics for Testing
423
10.3
Object Oriented Metrics Used in Testing
423
Contents ix
10.3.1
Coupling Metrics
424
10.3.2
Cohesion Metrics
424
10.3.3
Inheritance Metrics
425
10.3.4
Size Metrics
426
10.4
What Should We Measure During Testing?
427
10.4.1
Time
427
10.4.2
Quality of Source Code
428
10.4.3
Source Code Coverage
429
10.4.4
Test Case Defect Density
429
10.4.5
Review Efficiency
429
10.5
Software Quality Attributes Prediction Models
430
10.5.1
Reliability Models
430
10.5.2
An Example of Fault Prediction Model in Practice
437
10.5.3
Maintenance Effort Prediction Model
442
Multiple Choice Questions
446
Exercises
449
Further Reading
45]
11.
Testing Web Applications
453
11.1
What is Web Testing?
453
11.1.1
Web Application versus Client Server Application
453
11.1.2
Key Areas in Testing Web Applications
455
11.2
Functional Testing
456
11.3
User Interface Testing
458
11.3.1
Navigation Testing
45 8
11.3.2
Form Based Testing
459
11.3.3
User Interface Testing Checklist
461
11.4
Usability Testing
463
11.4.1
What is Usability and Usability Testing?
463
11.4.2
Identification of Participants
464
11.4.3
Development of Usability Testing Questionnaire
465
11.4.4
Setting up Environment for Conducting Test
468
11.4.5
Conducting the Test
469
11.4.6
Analyze the Results and Observations
469
11.5
Configuration and Compatibility Testing
469
11.5.1
Browser Testing
47O
11.5.2
Guidelines and Checklist for Configuration and Compatibility Testing
470
11.6
Security Testing
471
11.7
Performance Testing
476
11.7.1
Load Testing
476
11.7.2
Stress Testing
479
11.7.3
Performance Testing Checklist
479
11.8
Database Testing
480
11.9
Post-Deployment Testing
482
χ
Contents
11.10
Web Metrics
485
Multiple
Choice Questions
486
Exercises
490
Further Reading
492
12.
Automated Test Data Generation
494
12.1
What is Automated Test Data Generation?
494
12.1.1
Test Adequacy Criteria
495
12.1.2
Static and Dynamic Test Data Generation
495
12.2
Approaches to Test Data Generation
496
12.2.1
Random Testing
496
12.2.2
Symbolic Execution
496
12.2.3
Dynamic Test Data Generation
501
12.3
Test Data Generation using Genetic Algorithm
502
12.3.1
Initial Population
503
12.3.2
Crossover and Mutation
503
12.3.3
Fitness Function
504
12.3.4
Selection
505
12.3.5
Algorithm for Generating Test Data
505
12.4
Test Data Generation Tools
511
Multiple Choice Questions
512
Exercises
513
Further Reading
514
Appendix I
517
Appendix II
541
Appendix III
594
References
612
Answers to Multiple Choice Questions
617
Index
621
|
any_adam_object | 1 |
author | Singh, Yogesh |
author_facet | Singh, Yogesh |
author_role | aut |
author_sort | Singh, Yogesh |
author_variant | y s ys |
building | Verbundindex |
bvnumber | BV040317467 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.76.T48 |
callnumber-search | QA76.76.T48 |
callnumber-sort | QA 276.76 T48 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 233 |
ctrlnum | (OCoLC)799090081 (DE-599)BVBBV040317467 |
dewey-full | 005.1/4 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.1/4 |
dewey-search | 005.1/4 |
dewey-sort | 15.1 14 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01508nam a2200421zc 4500</leader><controlfield tag="001">BV040317467</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20131010 </controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">120718s2012 xxkad|| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">2011012053</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781107012967</subfield><subfield code="c">hardback</subfield><subfield code="9">978-1-107-01296-7</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)799090081</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV040317467</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">aacr</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxk</subfield><subfield code="c">GB</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-703</subfield><subfield code="a">DE-92</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.76.T48</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.1/4</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 233</subfield><subfield code="0">(DE-625)143620:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Singh, Yogesh</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Software testing</subfield><subfield code="c">Yogesh Singh</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Cambridge [u.a.]</subfield><subfield code="b">Cambridge Univ. Press</subfield><subfield code="c">2012</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XXII, 626 S.</subfield><subfield code="b">Ill., graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Computer software</subfield><subfield code="x">Testing</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Computer software</subfield><subfield code="x">Quality control</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Testen</subfield><subfield code="0">(DE-588)4367264-4</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Software</subfield><subfield code="0">(DE-588)4055382-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Software</subfield><subfield code="0">(DE-588)4055382-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Testen</subfield><subfield code="0">(DE-588)4367264-4</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Bayreuth</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025172151&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-025172151</subfield></datafield></record></collection> |
id | DE-604.BV040317467 |
illustrated | Illustrated |
indexdate | 2024-07-10T00:21:30Z |
institution | BVB |
isbn | 9781107012967 |
language | English |
lccn | 2011012053 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-025172151 |
oclc_num | 799090081 |
open_access_boolean | |
owner | DE-703 DE-92 |
owner_facet | DE-703 DE-92 |
physical | XXII, 626 S. Ill., graph. Darst. |
publishDate | 2012 |
publishDateSearch | 2012 |
publishDateSort | 2012 |
publisher | Cambridge Univ. Press |
record_format | marc |
spelling | Singh, Yogesh Verfasser aut Software testing Yogesh Singh Cambridge [u.a.] Cambridge Univ. Press 2012 XXII, 626 S. Ill., graph. Darst. txt rdacontent n rdamedia nc rdacarrier Includes bibliographical references Computer software Testing Computer software Quality control Testen (DE-588)4367264-4 gnd rswk-swf Software (DE-588)4055382-6 gnd rswk-swf Software (DE-588)4055382-6 s Testen (DE-588)4367264-4 s DE-604 Digitalisierung UB Bayreuth application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025172151&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Singh, Yogesh Software testing Computer software Testing Computer software Quality control Testen (DE-588)4367264-4 gnd Software (DE-588)4055382-6 gnd |
subject_GND | (DE-588)4367264-4 (DE-588)4055382-6 |
title | Software testing |
title_auth | Software testing |
title_exact_search | Software testing |
title_full | Software testing Yogesh Singh |
title_fullStr | Software testing Yogesh Singh |
title_full_unstemmed | Software testing Yogesh Singh |
title_short | Software testing |
title_sort | software testing |
topic | Computer software Testing Computer software Quality control Testen (DE-588)4367264-4 gnd Software (DE-588)4055382-6 gnd |
topic_facet | Computer software Testing Computer software Quality control Testen Software |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=025172151&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT singhyogesh softwaretesting |