Top Banner
Software Testing
14
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: ITFT--Software testing

Software Testing

Page 2: ITFT--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.”

Page 3: ITFT--Software testing

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

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

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

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

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

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

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

Test Methods

• White box or glass box testing

• Black box testing

Page 11: ITFT--Software 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

Page 12: ITFT--Software testing

White Box Testing

Componentcode

Testoutputs

Test data

DerivesTests

Page 13: ITFT--Software testing

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

Black Box Testing

I

e

Input test data

OeOutput test results

System

Inputs causinganomalousbehaviour

Outputs which revealthe presence ofdefects