Levels of Testing
What is Levels of Testing
In this session, We are going to understand Levels of Testing. Levels of Testing is also called Levels of Functional Testing.
In order to understand Levels of testing, We need to understand that In Software development Process, Software is developed module by module. Module is also called Component, Feature, or Unit. Once a Unit is developed, It needs to be tested individually or independently, Which is called Unit Testing.
Once the Unit Testing is completed, then each and every unit is integrated with other units, and then we have to check that when the 2 Units are integrated with each other, they should be tested to see if they work fine, and this is called Integration testing. Integration testing is done 2 Units are integrated together or more than 2 Units are integrated together. Integration Testing is done based on the Low Level Design Document).
Once Integration Testing is done, then all the Units are integrated together and a complete system is built, then we have to do System Testing. System Testing is done to check all the features, Units, Modules are working fine in the System altogether. System Testing is done based on the System Design Documents (High Level Design Document).
Once System testing is done, then the system is tested again but this time, the testing is done on the basis of Requirement Documents (Business Requirement and Functional Requirement Document). This type of Testing is called User Acceptance Testing or UAT.
So, We can say that as the Software is developed step by step, or Module by Module, Same way Testing Process is also done one after another. First Unit Testing, then Integration Testing, then System Testing, and then UAT Testing is done. This is called Levels of Testing.
Different Levels of Testing
- Unit Testing
- Integration Testing
- System Testing
- UAT (User Acceptance Testing)
Level 1 – Unit Testing
Unit Testing is type of Testing, where each and every testable Unit or Module or Component of a Software is tested individually or independently.
Unit Testing is the very first level of Functional Testing.
Unit Testing is a type of White Box Testing.
We will discuss about Unit Testing in detail in our coming sessions.
Level 2 – Integration Testing
Integration Testing is done after Unit Testing.
This is the 2nd level of Functional Testing.
This is a type of testing, where 2 or more than 2 Units are integrated together and then tested to check if the Units works as expected when they are integrated together.
Integration Testing is a type of Black Box Testing.
We will discuss about Integration Testing in detail in our coming sessions.
Level 3 – System Testing
System Testing is done after Integration Testing.
This is the 3rd level of Functional Testing.
This is a type of Testing which is done, when all the Units are integrated together, and a System or Application is built completely.
System Testing is a type of Black Box Testing.
We will discuss about System Testing in detail in our coming sessions.
Level 4 – UAT (User Acceptance Testing)
User Acceptance Testing is done after System Testing.
UAT is the 4th or last level of Testing.
This is a type of Testing which is done, when all the Units are integrated together, and a System or Application is built completely. So, It is a type of System Testing, but this testing is done based on Business Requirements Documents or Functional Requirement Documents.
User Acceptance Testing is a type of Black Box Testing.
We will discuss about User Acceptance Testing in detail in our coming sessions.
Importance of Levels of Testing
As we know that the Software testing is a process to check the Quality of the Software. If we want to deliver a good Quality Software to the end user, then we should perform Software Testing very efficiently, and Levels of Testing helps in that Process.
Unit Testing, the very first level of Testing helps us in checking the Quality of the Code of the Software because it is a white Box Testing and Unit testing ensures that each and every unit of the Software is working fine when tested individually.
Integration Testing, the second level of Testing helps us in checking that when the 2 Units are integrated together, then it works fine, if tested.
System Testing, the third level of Testing, helps us in checking the System as a whole works perfectly fine.
UAT Testing is a type of System Testing which is done based on the Customer Requirements, So the Software works as per Customer Requirements.
So, this way, the Levels of Testing becomes very important in terms of delivering a quality Product to the end user.
Summary
We have covered below topics in this session.
- Levels of Testing
- Unit Testing
- Integration Testing
- System Testing
- User Acceptance Testing
- Importance of Levels of Testing
Question
Please list out the different Levels of Testing.