2 Testing Principles FV05Jan2017
2 Testing Principles FV05Jan2017
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.