group-icon
Software Testing Squad
All About Software Testing In One Place!
125 Members
Join this group to post and comment.
Gaurav Prasad
Gaurav Prasad
Computer Science
14 Jan 2019

What are the principles of software testing?

Mention all of it?

Aswini Vi
Aswini Vi
Computer Science
2mos ago

There are 7 principles of software testing we have.

  1. Testing shows presence of defects.
  2. Exhaustive testing is not possible.
  3. Early testing.
  4. Defect clustering.
  5. Pesticide paradox.
  6. Testing is context dependent.
  7. 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.

Gaurav Prasad
Gaurav Prasad
Computer Science
2mos ago

thanks for your efforts.