0% found this document useful (0 votes)
8 views6 pages

2 Testing Principles FV05Jan2017

The document outlines key principles of software testing, emphasizing that testing is context-dependent, exhaustive testing is impractical, and early testing is crucial. It discusses concepts such as defect clustering, the pesticide paradox, and the absence of error fallacy, highlighting the importance of adapting testing strategies to effectively identify defects. Additionally, it includes potential interview questions related to these principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views6 pages

2 Testing Principles FV05Jan2017

The document outlines key principles of software testing, emphasizing that testing is context-dependent, exhaustive testing is impractical, and early testing is crucial. It discusses concepts such as defect clustering, the pesticide paradox, and the absence of error fallacy, highlighting the importance of adapting testing strategies to effectively identify defects. Additionally, it includes potential interview questions related to these principles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Testing

Principles
Testing Principles
 Testing is context dependent
 Testing is done differently in different contexts.
 For e.g. Safety-critical software is tested
differently from an e-commerce site.
 Exhaustive testing is impossible
 Testing everything (all combinations of inputs
and preconditions) is not feasible except for
trivial cases. Instead of exhaustive testing we
use risks and priorities to focus testing efforts.
 Early testing
 Testing activities should start as early as
possible in the software or system development
life cycle and should be focused on defined
objectives.
Testing Principles
 Defect clustering
 A small number of modules contain most of
the defects discovered during pre-release
testing or show the most operational failures.

 Pesticide paradox
 If the same test are repeated over and over
again, eventually the same set of test cases
will no longer find any new bugs.

 To overcome this ‘pesticide paradox’ ,the test


case needs to be regularly reviewed and
revised to potentially find more defects.
Testing Principles
 Testing shows presence of defects
 Testing can show that defects are
present, but cannot prove that there are
no defects.

 Absence of error fallacy


 Finding and fixing defects does not help
if the system built is unusable and does
not fulfill the users needs and
expectation.
Interview Questions
 What are the principles of testing?

 What are main benefits of designing test


cases early?

 What is 80/20 Rule?

 Explain the principle "Exhaustive Testing"?

 What steps can be taken to overcome


pesticide paradox?

 Explain principle "absence of error fallacy"?


Any Questions

You might also like