02 Testing Process_Done
02 Testing Process_Done
TESTING
(TESTING)
Engr. Sajid Saleem
OUTLINE
Testing
Purpose of testing
Level 0 to 5
Testing Terminologies
Defects
vs Failure
Types
Cost of Finding
Types of Testing
Test Cases and Format
2
Testing Levels
TESTING
What is Testing?
The process of operating a system or component under
specifies conditions, observing or recording the results, and
making an evolution of some aspect of the system or
component (IEEE Standards Glossary of Software Engineering
Terminology)
TESTING
What is What ought to be
Reasons :
Quality
Acceptability
Discover problems
Failure
A defect that reaches a customer
COMMON TYPES OF
DEFECTS
Following are the common types of defects that occur during development:
Arithmetic Defects
Logical Defects
Syntax Defects
Multithreading Defects
Interface Defects
Performance Defects
COST OF FINDING DEFECTS
Some defect-detection practices cost more than others
The most economical practices result in the least cost per
defect found
Most studies have found that inspections are cheaper than testing
Formal inspections
Code reading and inspections
Peer reviews
TESTING PROCESS
Test planning
For example, the tester will write some test code that will call a
method with certain parameters and will ensure that the return value
of this method is as expected.