software testing. introduction testing forms the first step in determining the errors in a program....

12
SOFTWARE TESTING

Upload: audra-pitts

Post on 18-Jan-2016

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

SOFTWARE

TESTING

Page 2: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

INTRODUCTION•Testing forms the first step in determining the errors in a program.•It is the major quality control measure used during software development.•Testing is defined as process of executing a program with intent of finding errors in the program.•Test data is defined as input which have been devised to test the system.•Test cases is defined as inputs to test the system and the predicted outputs from these inputs if the system operates according to its specification.

Page 3: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

Componenttesting

Integrationtesting

Software developer Independent testing team

TESTING PROCESS

Page 4: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

TYPES OF TESTINGBlack box Testing

(Functional Testing)White box Testing (Structural Testing or Glass Box Testing)Interface TestingDefect Testing

Page 5: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

BLACK BOX TESTINGIe

Input test data

OeOutput test results

System

Inputs causinganomalousbehaviour

Outputs which revealthe presence ofdefects

Page 6: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

WHITE BOX TESTING

Componentcode

Testoutputs

Test data

DerivesTests

Page 7: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

INTERFACE TESTINGTest

cases

BA

C

Page 8: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

Design testcases

Prepare testdata

Run programwith test data

Compare resultsto test cases

Testcases

Testdata

Testresults

Testreports

DEFECT TESTING

Page 9: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

LEVELS OF TESTING

1.Unit Testing2.Integration Testing3.System Testing4.Acceptance Testing

Page 10: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during
Page 11: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

CONCLUTION

•Test coverage measures ensure that all statements have been executed at least once. •Interface defects arise because of specification misreading, misunderstanding, errors or invalid timing assumptions•To test object classes, test all operations, attributes and states•Integrate object-oriented systems around clusters of objects

•Test parts of a system which are commonly used rather than those which are rarely executed•Equivalence partitions are sets of test cases where the program should behave in an equivalent way•Black-box testing is based on the system specification•Structural testing identifies test cases which cause all paths through the program to be executed

Page 12: SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program. It is the major quality control measure used during

Thank You