Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 16

Software Testing

PRESENTED BY
SUMIT LATTHE
Introduction & Fundamentals

 What is Software Testing?


 Why testing is necessary?
 Testing of levels?
 Testing of methodologies?
Black bock testing
White box testing
Most Common Software problems
• Incorrect calculation

• Incorrect matching and merging of data

• Data searches that yields incorrect results

• Inadequate software performance


What is testing?
Testing is an activity that helps in finding
out bugs/defects/errors in a software
system under development, in order to
provide a bug free and reliable
system/solution to the customer.
 
Testing Levels

Unit testing
Integration testing
System testing
Acceptance testing
 UNIT TESTING (Module testing)
 debuggers, tracers

 programmers

 INTEGRATION TESTING
 communication between modules

 start with one module, then add incrementally

 SYSTEM TESTING
 manual procedures, restart and recovery, user

interface
 real data is used

 users involved

 ACCEPTANCE TESTING
 user-prepared test data

 Verification Testing, Validation testing, Audit Testing


TESTING METHODOLOGIES
AND TYPES
Testing methodologies

Black box testing

White box testing


st i ng
o x t e
k -b
Blac
 Also known as functional testing.
 An approach to testing where the
program is considered as a ‘black-box’
 Test planning can begin early in the
software process
Black-box testing
Black Box - testing technique

 Incorrect or missing functions


 Interface errors
 Errors in data structures or external database
access
 Performance errors
 Initialization and termination errors

Srihari Techsoft
White-box testing

• Sometime called structural testing or glass-box


testing
• Derivation of test cases according to program
structure
• Knowledge of the program is used to identify
additional test cases
• Objective is to exercise all program statements
(not all path combinations)
White-box testing

Test data

Tests Derives

Component Test
code outputs
White Box - testing technique
 All independent paths within a module have been
exercised at least once

 Exercise all logical decisions on their true and false


sides

 Execute all loops at their boundaries and within their


operational bounds

 Exercise internal data structures to ensure their


validity
Testing Levels/ White Black Incre-
Techniques Box Box mental

Unit Testing X

Integration
X X
Testing

System Testing X

Acceptance
X
Testing
THANK YOU

You might also like