Table of Contents
As software development techniques have advanced during the last decades, some basic principles of testing have also been established. These principles can be seen as a basic guideline for both, Software Testing and coding.
- Testing Shows Presence of Defects: Testing an application can only reveal that one or more defects exist in the application. Even after testing the application or product thoroughly we cannot say that the product is 100% defect-free. Testing always reduces the number of undiscovered defects remaining in the software. Therefore, it is important to design Test Cases which find as many defects as possible.
- Exhaustive Testing is Impossible: It is not possible to test all possible combinations of data and Test Scenarios as it will take to much time. For this reason, risk and priorities are used to concentrate on the most important aspects to test. Accessing and managing risk is one of the most important activities and reasons for testing in any project.
- Early Testing: In the Software Development Life Cycle testing activities should start early and focus on defined objectives. As soon as the initial products, such as requirements or design documents are available, we can start testing. By starting testing early, test can be prepared for each level of the development life-cycle. Another important point about early testing is that when defects are found earlier in the life-cycle, they are much easier and cheaper to fix. It is much cheaper to change an incorrect requirement than having to change a functionality in a large system that is not working as requested or as designed!
- Defect Clustering: During testing, it can be observed that most of the reported defects are related to small number of modules within a system. By identifying and focusing on these clusters, testers can efficiently test the sensitive areas while concurrently testing the remaining “non-sensitive” areas.
- Pesticide Paradox: If we keep running the same set of tests over and over again, chances are no more new defects will be discovered by those test cases. “Pesticide Paradox” means that it is very important to review the test cases regularly. New and different tests need to be written to cover different parts of the software or system to find more defects.
- Testing is Context Depending: The same tests should not be applied across the board because different software products have varying requirements, functions and purposes. Different methodologies, techniques and types of testing are related to the type and nature of the application. For example, a software application in a medical device software needs more testing than a games software. Also, a medical device software requires to be compliant with medical industry regulators and possibly specific test design techniques.
- Absence of Errors Fallacy: If the system built is unusable and does not fulfil the user’s needs and expectations then finding and fixing defects will not help. Also if testing didn’t find any defects in the software, it doesn’t mean that the software is ready to be used. It must be confirmed wheather the executed tests were really designed to catch the most of the defects.
2 min read
What is Dynamic Testing? Advantages and Disadvantages and Types of Dynamic Testing. Dynamic Techniques are subdivided into three more categories.
Software Development Life Cycle
5 min read
What is Software Development Life Cycle ? What are the different stages of SDLC. Planning, Analysis, Design, Testing, Deploy & Maintanace.
What are the different Test Levels in Software Testing?
10 min read
This article gives you an in-depth understanding of different test levels in software testing along with the attributes of levels of testing.