SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program....
-
Upload
audra-pitts -
Category
Documents
-
view
224 -
download
0
Transcript of SOFTWARE TESTING. INTRODUCTION Testing forms the first step in determining the errors in a program....
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 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.
Componenttesting
Integrationtesting
Software developer Independent testing team
TESTING PROCESS
TYPES OF TESTINGBlack box Testing
(Functional Testing)White box Testing (Structural Testing or Glass Box Testing)Interface TestingDefect Testing
BLACK BOX TESTINGIe
Input test data
OeOutput test results
System
Inputs causinganomalousbehaviour
Outputs which revealthe presence ofdefects
WHITE BOX TESTING
Componentcode
Testoutputs
Test data
DerivesTests
INTERFACE TESTINGTest
cases
BA
C
Design testcases
Prepare testdata
Run programwith test data
Compare resultsto test cases
Testcases
Testdata
Testresults
Testreports
DEFECT TESTING
LEVELS OF TESTING
1.Unit Testing2.Integration Testing3.System Testing4.Acceptance Testing
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
Thank You