Software Testing Ppt
-
Upload
api-3856384 -
Category
Documents
-
view
50 -
download
3
Transcript of Software Testing Ppt
![Page 1: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/1.jpg)
ISAS SEMINAR ON SOFTWARE TESTING
Presented by
Jaikumar
Sudharshan
![Page 2: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/2.jpg)
CONTENTS
1. Introduction
2. Testing objectives
3. Testing principles
4. Classification of testing
5. Black box testing
![Page 3: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/3.jpg)
CONTENTS
6. White box testing
7. Performance testing
8. Reliability testing
9. Security testing
10. Testing automation
![Page 4: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/4.jpg)
CONTENTS
11. Available Tools And Techniques
12. Testing level
13. Testing cycle
14. Summary
15. Queries
![Page 5: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/5.jpg)
INTRODUCTION
Software testing:
Testing a software for its
Correctness Completeness Security.
![Page 6: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/6.jpg)
INTRODUCTION
SQA – Software Quality Assurance is testing a software product completely in a broader aspect.
Software testing is a part of SQA.
![Page 7: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/7.jpg)
TESTING OBJECTIVES
Testing = executing a program to find an error
Quality of a test case: probability of finding an as-yet undiscovered error.
A successful test uncovers a lot of undiscovered error
![Page 8: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/8.jpg)
TESTING PRINCIPLES
All tests should be Made according to customer requirements planned long before testing begins begin in-the-small and progress toward in-
the-large Exhaustive testing is not possible
![Page 9: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/9.jpg)
Classification of testing
It is broadly classified based on point of view a test engineer takes as
Black-box testing White-box testing
![Page 10: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/10.jpg)
BLACK BOX TESTING
Only inputs and output functionality are visible
Inputs are given and outputs are compared against specification.
No implementation details of the code are considered.
Data driven testing.
![Page 11: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/11.jpg)
BLACK BOX TESTING
Targets: To find incorrect or missing functions interface errors performance errors
![Page 12: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/12.jpg)
WHITE BOX TESTING
Contrary to black-box testing. structure and code are visible. Implementation of the software is given
importance programming language, logic, and styles are
considered.
![Page 13: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/13.jpg)
WHITE BOX TESTING
Targets: To check Control-flow Looping data-flow all the nodes or paths are covered or
traversed at least once.
![Page 14: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/14.jpg)
PERFORMANCE TESTING
software should not take infinite time or infinite resource to execute.
PERFORMANCE BUGS – process that causes system performance to degrade.
Usage of workload to check software performance.
![Page 15: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/15.jpg)
PERFORMANCE TESTING
Targets: To check CPU cycles. Disk space. Disk access operations. Memory usage.
![Page 16: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/16.jpg)
RELIABILITY TESTING
probability of failure-free operation of a software.
Robustness testing - degree to which it can function correctly in the presence of exceptional inputs.
![Page 17: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/17.jpg)
RELIABILITY TESTING
Targets:
To check for robustness problems such as machine crashes. process hangs. abnormal termination.
![Page 18: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/18.jpg)
SECURITY TESTING
Need for security testing: Flaws in software can be exploited by
hackers. With the development of the Internet,
software security problems are becoming even more severe.
![Page 19: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/19.jpg)
SECURITY TESTING
Targets: To check security violations. validating the effectiveness of security
measures. Simulated security attacks to find security
vulnerabilities.
![Page 20: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/20.jpg)
TESTING AUTOMATION
The need: Software testing can be very costly. Automation is a good way to cut down time
and cost. In order to automate the testing process we
have to generate the test cases to check for complete correctness.
![Page 21: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/21.jpg)
TESTING AUTOMATION
Today we still don't have a full-scale system that has achieved this goal.
significant amount of human intervention is still needed in testing.
The degree of automation remains at the automated test script level.
![Page 22: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/22.jpg)
AVAILABLE TOOLS AND TECHNIQUES
A lot of testing tools are available. some of them are Mothora :
1. mutation testing tool developed at Purdue university.
2. Can create and execute test cases, measure adequacy
3. Determine input – output correctness, remove bugs
![Page 23: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/23.jpg)
AVAILABLE TOOLS AND TECHNIQUES
NuMega's Boundschecker, National's Purify 1. Runtime checking and debugging aids.2. Check and protect against memory leaks
and pointer problems. Ballista COTS Software Robustness
Testing Harness : 1. Full scale automated robustness testing
tool.
![Page 24: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/24.jpg)
TESTING LEVELS
Acceptance testing – system requirement-performed after testing and before implementation phase.
Alpha testing - testing by an independent test team at developers' site.
Beta testing – beta versions released outside the company sometimes to open public to increase feedback.
![Page 25: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/25.jpg)
TESTING CYCLE
![Page 26: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/26.jpg)
SUMMARY
Testing is a Testing is a destructive activity.destructive activity.
Testing cannot Testing cannot show the absence show the absence of defects.of defects.
Testing > 30% of Testing > 30% of total effort.total effort.
![Page 27: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/27.jpg)
SUMMARY
All tests should be traceable to customer requirements.
White-box testing. Black-box testing
![Page 28: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/28.jpg)
SUMMARY
Software quality, reliability and security are tightly coupled.
Robustness, performance, reliability testing.
![Page 29: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/29.jpg)
SUMMARY
•Testing automation
•Testing cycle
•Testing levels
![Page 30: Software Testing Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061116/54653c2ab4af9f446e8b4b20/html5/thumbnails/30.jpg)
QUERIES