General Testing Principles Flashcards
Principle 1: shows presence of defects
-can show present defects but can’t prove there’s no defects
-reduces probability of undiscovered defects remaining in software
Principle 2: exhaustive testing is impossible
If we could do exhaustive testing most tests would be duplicates which tell us nothing
We need selective efficient tests
We use risk and priorities to focus our testing efforts
Principle 3: early testing
-testing activities should happen ASAP in software devkolemnt life cycle
Principle 4: defect clustering
Small amount of modules contain most of defects discovered during pre release testing
Principle 5 - pesticide paradox
If the same tests are repeated again and again eventually no more defects, this is the pesticide paradox. When all defects removed our test will find no more.
Principle 6: testing is context dependent
E.g. safety critical software tested differently than e commerce sight because risk of failure higher
Principle 7: absence of errors fallacy
System might have good specification and be tested thoroughly but might still not meet user specification , might night meet needs of users.