Software Testing
Jan 28, 2015
Software Testing
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.”
Levels of Testing
• Unit Testing
• Integration Testing
• Validation Testing• Regression Testing
• Alpha Testing
• Beta Testing
• Acceptance Testing
• Other testing method
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.
Specification Testing
• To perform specification testing, theanalyst examines the specificationsstarting what the program should doand how it should perform undervarious conditions
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.
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.
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.
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.
Test Methods
• White box or glass box testing
• Black box testing
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
White Box Testing
Componentcode
Testoutputs
Test data
DerivesTests
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
Black Box Testing
I
e
Input test data
OeOutput test results
System
Inputs causinganomalousbehaviour
Outputs which revealthe presence ofdefects