Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Software Testing Guide Book

Software Testing Guide Book

Ratings: (0)|Views: 30 |Likes:
Published by api-3719303

More info:

Published by: api-3719303 on Oct 15, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Software Testing Guide Book
Part I: Fundamentals of Software Testing
Table of Contents
Software Testing Guide Book................................................................................ 1
1. The Software Testing Guide Book.................................................................... . . 4

Forward......................................................................................................... 4 About SofTReL........................................................................................... . . . . 5 Purpose of this Document............................................................................. 5 Authors......................................................................................................... 6 Intended Audience.................................................................................... . . . . . 7 How to use this Document............................................................................. 7 What this Guide Book is not.......................................................................... 7 How to Contribute......................................................................................... 7 Future Enhancements................................................................................... 7 Copyrights..................................................................................................... 7

2. What is Software Testing and Why is it Important?........................................... 8
3. Types of Development Systems....................................................................... 10

3.1 Traditional Development Systems......................................... . . . . . . . . . . . . . . . . . 10 3.2 Iterative Development............................................................................ 10 3.3 Maintenance System............................................................................. . 10 3.4 Purchased/Contracted Software............................................................ 11

4. Types of Software Systems.......................................................................... . . . . 11

4.1 Batch Systems....................................................................................... 11 4.2 Event Control Systems.......................................................................... 11 4.3 Process Control Systems........................................................................ 11 4.4 Procedure Control Systems.................................................................... 12 4.5 Advanced Mathematical Models............................................................. 12 4.6 Message Processing Systems................................. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.7 Diagnostic Software Systems.......................................... . . . . . . . . . . . . . . . . . . . . . . . 12 4.8 Sensor and Signal Processing Systems.................................................. 12 4.9 Simulation Systems............................................................................... 13 4.10 Database Management Systems......................................................... . . 17 4.11 Data Acquisition................................................................ . . . . . . . . . . . . . . . . . 17 4.12 Data Presentation................................................................ . . . . . . . . . . . . . . . 17 4.13 Decision and Planning Systems................................... . . . . . . . . . . . . . . . . . . . . . . . . 17 4.14 Pattern and Image Processing Systems.......................... . . . . . . . . . . . . . . . . . . . . . . 17 4.15 Computer System Software Systems...................................... . . . . . . . . . . . . . . 18 4.16 Software Development Tools................................................................ 18

5. Heuristics of Software Testing.......................................... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Software Testing Guide Book
Part I: Fundamentals of Software Testing

6. When Testing should occur?........................................................................... 22 7. The Test Development Life Cycle (TDLC)................................................... . . . . . . 26 8. When should Testing stop?............................................................................. 28 9. Verification Strategies.................................................................................... 28

9.1 Review................................................................................................... 28 9.2 Walkthrough..........................................................................................31 9.3 Inspection.............................................................................................. 33

10. Testing Types and Techniques...................................................................... 34
10.1 White Box Testing........................................................................ . . . . . . . . 36

10.1.1 Basis Path Testing........................................................................................... 40 10.1.2 Flow Graph Notation...................................................................................... 40 10.1.3 Cyclomatic Complexity..................................................................................40 10.1.4 Graph Matrices................................................................................................40 10.1.5 Control Structure Testing................................................................................ 41 10.1.6 Loop Testing................................................................................................... 41

10.2 Black Box Testing................................................................ . . . . . . . . . . . . . . . 42

10.2.1 Graph Based Testing Methods........................................................................ 43 10.2.2 Error Guessing................................................................................................ 43 10.2.3 Boundary Value Analysis................................................................... . . . . . . . . . . . . . 43 10.2.4 Equivalence Partitioning.................................................................................44 10.2.5 Comparison Testing........................................................................................ 45 10.2.6 Orthogonal Array Testing................................................................................ 45

11. Designing Test Cases.................................................................................... 45
12. Validation Phase........................................................................................... 46
12.1 Unit Testing............................................................................... . . . . . . . . . . 46
12.2 Integration Testing............................................................................... 51
12.2.1 Top-Down Integration..................................................................................... 51
12.2.2 Bottom-Up Integration.................................................................................... 51
12.3 System Testing.................................................................................... 52

12.3.1 Compatibility Testing...................................................................................... 52 12.3.2 Recovery Testing............................................................................................. 53 12.3.3 Usability Testing............................................................................................. 53 12.3.4 Security Testing............................................................................................... 56 12.3.5 Stress Testing.................................................................................................. 56 12.3.6 Performance Testing.......................................................... . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 12.3.7 Content Management Testing......................................................................... 66 12.3.8 Regression Testing....................................................................... . . . . . . . . . . . . . . . . . . 66

12.4 Alpha Testing....................................................................................... 69 12.5 User Acceptance Testing...................................................................... 70 12.6 Installation Testing.............................................................................. 70 12.7 Beta Testing..................................................... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71

13. Understanding Exploratory Testing............................................................... 71 14. Understanding Scenario Based Testing................................................ . . . . . . . . . . 88 15. Understanding Agile Testing......................................................................... 89 16. API Testing................................................................................................... 94

http://www.SofTReL.org
2 of 140
Software Testing Guide Book
Part I: Fundamentals of Software Testing
17. Understanding Rapid Testing...................................................................... 101
18. Test Ware Development.............................................................................. 103

18.1 Test Strategy ...................................................................................... 103 18.2 Test Plan........................................................................................... 106 18.3 Test Case Documents........................................................................ 112

19. Defect Management.................................................................................... 118

19.1 What is a Defect?............................................................................... 118 19.2 Defect Taxonomies...................................................................... . . . . . . . 118 19.3 Life Cycle of a Defect.......................................................................... 119

20. Metrics for Testing...................................................................................... 120 References........................................................................................................ 135 GNU Free Documentation License................................................... . . . . . . . . . . . . . . . . . . 136

http://www.SofTReL.org
3 of 140

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->