Introduction to software testing
-
Upload
suraj-motee -
Category
Documents
-
view
168 -
download
3
Transcript of Introduction to software testing
![Page 1: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/1.jpg)
Software Testing & Quality
AssuranceLecture 1
Introduction to software testing
1
![Page 2: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/2.jpg)
Outcomes:
Understanding the concept of software faults.
Some sources of software faults including examples.
Definition of software testing including verification and validation.
Some main principles of software testing.
Why to test?
Testing Activities.
2
![Page 3: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/3.jpg)
Understanding software faults
Faults in software may cause:
Loss incurred by companies.
Loss of lives.
Loss of confidence of stakeholders
3
![Page 4: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/4.jpg)
Sources of faults
Improper requirement engineering.
Flaws in design.
Inadequate testing.
Evolution of software: addition of new features may introduce new faults.
4
![Page 5: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/5.jpg)
Software Testing
A process or set of activities to prove quality of software to stakeholders.
Verification and validation is part of testing.
5
![Page 6: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/6.jpg)
Verification(product right)6
SOFTWARE X
X
FUNCTIONALITY
![Page 7: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/7.jpg)
Validation (Right product)
Making sure software provide traceable requirements.
7
![Page 8: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/8.jpg)
Principles
Good test case helps to find bugs.
Successful test helps to find undiscovered errors.
Testing is destructive and is followed by debugging.
Testing cannot find all defects.
8
![Page 9: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/9.jpg)
Testing & confidence
Increase % bugs found, the higher is the confidence.
9
![Page 10: Introduction to software testing](https://reader035.fdocuments.net/reader035/viewer/2022073116/556adb58d8b42a1d668b5057/html5/thumbnails/10.jpg)
Standard Testing Activities
Model the environment.
Select test scenarios.
Test and evaluate.
Measure testing progress.
10