What are the principles of software testing?
Mention all of it?
There are 7 principles of software testing we have.
- Testing shows presence of defects.
- Exhaustive testing is not possible.
- Early testing.
- Defect clustering.
- Pesticide paradox.
- Testing is context dependent.
- Absence of errors fallacy.
Testing shows presence of defects: Software testing reduces the presence of defects.Software testing talks about presence of defects and doesn't talks about the absence of defects.Software testing can ensure that defects are present but it can't prove that software is defects free.Testing can reduce the number of defects but not removes all defects.
Exhaustive testing is not possible: It is the process of testing the functionality of a software in all possible inputs (valid/invalid) and precondition is known as exhaustive testing.It can test only some test cases and assume that software is correct and it will produce the correct output in every test cases.If the software will test the every test case then it will take more cost,effort and etc which is impractical.
Early testing:To find the defect in the software, early test activity shall be started.The defects detected in early process of SDLC will very less expensive.
Defect clustering:In a project a small number of module can contain most of the defects.Pareto principle to software testing state that 80% of software defect comes from 20% of modules.
Pesticide paradox:Repeating the same test cases again and again will not find new bugs.So it is necessary to review the test cases and add or update to find new bugs.
Testing is context dependent: Testing approach dependent on context of software developed.Different types of software need to perform different types of testing.
Absence of errors fallacy: If a built software is 99% bug-free but it doesn't follow the user requirement then it is unusable. It's not only necessary that software is 99% bug- free but also it is mandatory to fulfill all the customer requirements.
thanks for your efforts.