ITFT--Software testing
-
Upload
shifali-sharma -
Category
Education
-
view
105 -
download
0
description
Transcript of ITFT--Software testing
![Page 1: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/1.jpg)
Software Testing
![Page 2: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/2.jpg)
Testing
• “Testing is the process of executing a program with the intention of finding errors.”
• “Testing can show the presence of bugs but never their absence.”
![Page 3: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/3.jpg)
Levels of Testing
• Unit Testing
• Integration Testing
• Validation Testing• Regression Testing
• Alpha Testing
• Beta Testing
• Acceptance Testing
• Other testing method
![Page 4: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/4.jpg)
Unit Testing
• Unit testing is the process of testinga singular item of software. Anexample would be a window/formwhich allows a user to choose twoways of launching the application.
![Page 5: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/5.jpg)
Specification Testing
• To perform specification testing, theanalyst examines the specificationsstarting what the program should doand how it should perform undervarious conditions
![Page 6: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/6.jpg)
Alpha Testing
• An alpha release is the first working draft of a project.
• An alpha release of a project is only for internal circulation.
• Alpha testing is usually done “in-house” by team members.
• Alpha releases are expected to have problems or to be incomplete.
![Page 7: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/7.jpg)
Beta Testing• Beta testing is done with a wider
array of testers.
• Beta testers should be representativeof real users.
• These testers should be people whowere not involved with the actualproduction.
• Beta level bugs are typically lessvirulent than alpha bugs.
![Page 8: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/8.jpg)
Acceptance Testing
• Usually the tests are developed by thecustomer
• User acceptance is a type of testingperformed by the Client to certify thesystem with respect to the requirementsthat was agreed upon. This testinghappens in the final phase of testingbefore moving the software application toMarket or Production environment.
![Page 9: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/9.jpg)
Regression testing
• The purpose of regression testing is toconfirm that a recent program or codechange has not adversely affected existingfeatures.
• Regression testing is nothing but full orpartial selection of already executed testcases which are re-executed to ensureexisting functionalities work fine.
![Page 10: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/10.jpg)
Test Methods
• White box or glass box testing
• Black box testing
![Page 11: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/11.jpg)
White Box Testing
• Knowing the internal workings of a product, testthat all internal operations are performedaccording to specifications and all internalcomponents have been exercised
• Involves tests that concentrate on closeexamination of procedural detail
• Logical paths through the software are tested
• Test cases exercise specific sets of conditionsand loops
![Page 12: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/12.jpg)
White Box Testing
Componentcode
Testoutputs
Test data
DerivesTests
![Page 13: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/13.jpg)
Black Box Testing
• Knowing the specified function that a producthas been designed to perform, test to see ifthat function is fully operational and error free
• Includes tests that are conducted at thesoftware interface
• Not concerned with internal logical structure ofthe software
![Page 14: ITFT--Software testing](https://reader033.fdocuments.in/reader033/viewer/2022051613/54c8fe774a7959d4128b45d0/html5/thumbnails/14.jpg)
Black Box Testing
I
e
Input test data
OeOutput test results
System
Inputs causinganomalousbehaviour
Outputs which revealthe presence ofdefects