3.Testing Principles
3.Testing Principles
PRIN C IP L E S
Seven Principles of Software Testing
» EXHAUSTIVE TESTING IS NOT POSSIBLE
» DEFECT CLUSTERING
» PESTICIDE PARADOX
» EARLY TESTING
st om er s on ly us e 20 % of software
80% of cu
features
d
os t us er s do n't us e po wer features as they fin
M noying
power features to be an
3. PESTICIDE PARADOX
• IF YOU EXECUTE THE SAME SET OF TEST CASES AGAIN AND AGAIN OVER THE
PERIOD OF TIME THESE SET OF TEST CASES CANNOT IDENTIFY NEW DEFECTS
IN THE SYSTEM.
• SO TO OVERCOME THIS PESTICIDE PARADOX, IT IS NECESSARY TO REVIEW
THE TEST CASES REGULARLY AND ADD OR UPDATE THEM TO FIND MORE
DEFECTS.
ep et it iv e u se of th e same pesticide
R
s during farming
mix to destroy insect
the insects
over the time lead to
in g re si st an ce to th e pesticide,
develop
er eb y m ak in g th er eby pesticides
Th
ineffective on insects
software testing
The same applies to
4. TESTING SHOWS A PRESENCE OF
DEFECTS
• TESTING TALKS ABOUT THE PRESENCE OF DEFECTS & DON’T TALK ABOUT
THE ABSENCE OF DEFECTS
• SOFTWARE TESTING CAN ENSURE THAT DEFECTS ARE PRESENT, BUT IT CAN
NOT PROVE THAT SOFTWARE IS DEFECTS FREE.
• EVEN MULTIPLE TESTING CAN NEVER ENSURE THAT SOFTWARE IS 100% BUG-
FREE.
plic at ion m ig ht se em to be error-
An ap
ugh different
free after going thro
stages of testing.
ction in the
But during the produ
vi ronm en t, th e u se r may come
en
ross an y de fe ct w hi ch did not occur
ac
during the testing.
5. EARLY TESTING
J .P R A K A S H
TA N T P RO FES S OR
ASSI S
OF TE C HN OL O GY
PSG COLLEGE