web analytics

7 Main Principles of Software Testing with Example

This article presents the seven essential Software Testing Principles that each Software analyzer/tester and QA expert should know.

7 Principles of Software Testing

  • Testing shows presence of defects
  • Exhaustive testing is not possible
  • Early testing
  • Defect clustering
  • Pesticide paradox
  • Testing is context dependent
  • Absence of errors fallacy


You should accomplish ideal test results while leading software testing without straying from the objective. However, how you verify that you are following the right system for testing? For that, you really want to adhere to some essential testing principles. Here are the normal seven testing rules that are broadly polished in the software industry.

To get this, consider a situation where you are moving a file from folder A to Folder B.

Consider every one of the potential ways you can test this.

Aside from the standard situations, you can also test the following conditions

  • Attempting to move the file when it is Open
  • You don’t have the security freedoms to paste the file in Folder B
  • Folder B is on a shared drive and storage limit is full.
  • Folder B as of now has a file with a similar name, in fact, the list is endless
  • Or on the other hand guess you have 15 info fields to test, each having 5 possible values, the quantity of combinations to be tried would be 5^15

If you somehow managed to test the whole possible combinations project EXECUTION TIME and COSTS would rise dramatically. We want specific principles and techniques to enhance the testing effort

Here are the 7 Principles:

1) Exhaustive testing is not possible

Yes! Exhaustive testing is beyond the realm of possibilities. All things considered, we really want the ideal measure of testing based on the risk assessment of the application.

Furthermore the million dollar question is, how would you determine this risk?

To answer this present how about we do an activity

As you would like to think, Which activity is probably going to make your Operating system to fail?

I’m certain the majority of you would have guessed, Opening 10 different application all simultaneously.

So assuming you were trying this Operating system, you would understand that Defects are probably going to be found in performing various tasks activity and should be tried completely which carries us to our next principle Defect Clustering

2) Defect Clustering

Defect Clustering which expresses that few modules contain the majority of the defects detected. This is the application of the Pareto Principle to software testing: roughly 80% of the issues are seen as in 20% of the modules.

By experience, you can recognize such hazardous modules. However, this approach has its own concerns

Assuming similar tests are rehashed again and again, in the end a similar test will never again track down new bugs.

3) Pesticide Paradox

Repetitive use of a similar pesticide mix to kill insects during cultivating will over the long haul lead to the insects creating protection from the pesticide Thereby ineffectual of pesticides on insects. A similar applies to software testing. Assuming similar arrangement of redundant tests are led, the strategy will be pointless for finding new Defects.

To beat this, the experiments should be consistently explored and changed, adding new and different experiments to assist with tracking down more deformities.

Analyzers can’t just rely upon existing test strategies. He should watch out persistently to work on the current strategies to make testing more viable. But, even after this perspiration and difficult work in testing, you can never guarantee your item is without bug. To commute home this point, how about we see this video of the public launch of Windows 98

You think an organization like MICROSOFT would not have tried their OS completely and would take a chance with their reputation just to see their OS crashing during its public launch!

4) Testing shows a presence of defects

Hence, testing standard expresses that – Testing discusses the presence of Defects and don’t discuss the shortfall of deformities. for example software Testing diminishes the probability of unseen deformities staying in the product but even if no Defects are found, it’s anything but not a proof of accuracy.

Yet, imagine a scenario in which, you really work hard, playing it safe and make your software item almost 100% without bug. What’s more the software doesn’t address the issues and necessities of the clients.

This leads us to our next rule, which expresses that-Absence of Error

5) Absence of Error – fallacy

It is conceivable that software which is almost all the way bug-free is yet unusable. This can be the situation in the event that the system is tried completely for some unacceptable necessity. software testing isn’t simple tracking down defects, but also to make sure that software tends to the business needs. The shortfall of Error is a Fallacy for example Finding and fixing abandons doesn’t help if the system fabricate is unusable and doesn’t satisfy the client’s needs & requirements.

To tackle this issue, the following guideline of testing states that Early Testing

6) Early Testing

Early Testing – Testing should begin as soon as conceivable in the Software Development Life Cycle. So that any Defects in the requirements or design stage are caught in beginning phases. It is a lot less expensive to fix a Defect in the beginning phases of testing. But, how early one should begin testing? It is suggested that you begin observing the bug the second the prerequisites are characterized. More on this rule in a later training tutorial.

7) Testing is context dependent

Testing is context dependent which fundamentally implies that the manner in which you test a web based business website will be unique in relation to the manner in which you test a business off the rack application. All the fostered software’s are not indistinguishable. You could utilize an alternate methodology, philosophies, procedures, and kinds of testing relying on the application type. For example testing, any POS system at a retail store will be not quite the same as testing an ATM machine.

Related Posts

Leave a Reply

Your email address will not be published.