Many reader requested in comment for difference between System Testing vs Integration Testing. Here today we are going to cover this topic.
Most of the Software applications which are developed are usually broken into many modules and given to different teams. These modules are then usually developed individually and later on integrated to form the complete software application. When two or more modules are combined and tested, it is called integration testing. After all the modules are combined and the complete system is made, testing of the whole system is known as System Testing.
Before going into the differences let us first understand each type of testing in brief :
What is System Testing?
System Testing is testing of the software application as a whole to check if the system is complaint with the user requirements. It is an end to end user perspective testing intended to find defects in the software system.
System Testing is a type of black box testing technique thus the knowledge of internal code in not required. It is a high level testing always performed after integration testing. Regression and Re Testing is performed many times in system testing. The user can perform different type of tests under System Testing .It would depend on the user or the organisation to choose which type of system testing should be performed on the application. System testing can be broadly classified in two types:
- Functional Testing
- Non Functional Testing
Objective of System Testing:
System testing is performed to check the following points:
- To check whether the software system is made according to the customer needs written in Software Requirements Specifications, it meets both functional and non-functional design requirements of the system.
- When all the modules are combined as a whole, many errors and facts may arise which may not give the expected results? So system testing is performed to find the defects or bugs in all the interfaces as well the whole system.
- To execute the real –life scenarios on the software. It is done on the staging server which is very much similar to the production server where the software would actually be deployed. The system test cases are made according to the end- to – end use perspective.
What is Integration Testing?
Integration testing tests the interface between modules of the software application. The different modules are first testing individually and then combined to make a system. Testing the interface between the small units or modules is integration testing. It is usually conducted by software integration tester and in continuation to the development. There are different techniques available for integration testing:
- Big Bang Integration Testing: In type of integration testing all the modules are combined first and then tested together.
- Top Bottom Integration Testing: This type of testing take place from top to bottom uses Stubs which are substitutes of components. The top module is tested first.
- Bottom to Top Integration Testing: This type of testing take from bottom to top and uses Drivers which are substitutes of components. The bottom module is tested first.
Objective of Integration Testing:
Integration testing is performed to check the following points:
- To check whether the modules developed by individual developers when combined are according to standards and gives the expected results.
- When modules are combined, sometimes the data travelling between modules has many errors which may not give the expected results. So integration testing is performed to find the defects or bugs in all the interfaces.
- To check the integration between any third party tools used
Difference between System Testing vs Integration Testing
System Testing | Integration Testing |
1. Testing the completed product to check if it meets the specification requirements. | 1. Testing the collection and interface modules to check whether they give the expected result |
2. Both functional and non-functional testing are covered like sanity, usability, performance, stress an load . | 2.Only Functional testing is performed to check whether the two modules when combined give correct outcome. |
3. It is a high level testing performed after integration testing | 3. It is a low level testing performed after unit testing |
4. It is a black box testing technique so no knowledge of internal structure or code is required | 4. It is both black box and white box testing approach so it requires the knowledge of the two modules and the interface |
5. It is performed by test engineers only | 5. Integration testing is performed by developers as well test engineers |
6. Here the testing is performed on the system as a whole including all the external interfaces, so any defect found in it is regarded as defect of whole system | 6. Here the testing is performed on interface between individual module thus any defect found is only for individual modules and not the entire system |
7. In System Testing the test cases are developed to simulate real life scenarios | 7. Here the test cases are developed to simulate the interaction between the two module |
8. The System testing covers many different testing types like sanity, usability, maintenance, regression, retesting and performance | 8. Integration testing techniques includes big bang approach, top bottom , bottom to top and sandwich approach. |
9. …. |
Example to differentiate between System testing and Integration Testing:
Project : Online Shopping
Modules: The Integration Testing would include checking the interaction between different modules like :
- Searching a product using search bar, checking if the search bar accepts space, characters.
- Checking the search results after hitting enter button, if it is according to the searched words. Changing the search item and checking the results again
- Clicking on the product we select
- Check the product detail page
- Adding the product to the cart by clicking on “Add to Cart”, check by adding few more items
- Checking the shopping cart page, if all the data coming from the product detail page is proper.
System: The System Testing would include checking system as a whole:
- Add items to the Product page from back-end, check if it stored correctly in database table.
- Add few items to shopping cart and check if these items are correctly stored in temporary tables in database.
- Delete few items from shopping cart, it should be deleted from DB as well.
- Perform a check out transaction; see in DB if the payment option and other details are updated in DB as real time.
- Checking the payment page and the transaction id generated. Checking the same in database.
Over to you:
In this article we learned about the Difference between System Testing vs Integration Testing and its objectives. We also covered Example to differentiate between System testing and Integration Testing. In the difference we intentionally kept the point 9 blank and if you think I missed to cover the any important difference then you can add in the comments below, this will really help to understand the difference to our fresher QA friends.
⇓ Subscribe Us ⇓
If you are not regular reader of this website then highly recommends you to Sign up for our free email newsletter!! Sign up just providing your email address below:
Happy Testing!!!
- Difference between System testing and Acceptance Testing
- Difference between Unit Test Vs Integration Test
- Automation Testing Vs Manual Testing
- What is difference between Test Cases vs Test Scenarios?
- Difference between Black Box Testing and White Box Testing
- What Is Difference Between SDET And TESTER?
- Difference Between Use Case and Test Case
- What Is The Difference Between Scrum, Kanban And XP?
- Difference between Testing and Debugging
- Dynamic Testing in Software Testing
6 thoughts on “Difference between System Testing vs Integration Testing?”
Hi STC Admin,
The points you covered here are really cool, I want to appriciate your efforts here.
My point 9: System testing comes after integration testing.
Thanks,
Shrini
Very useful information. I liked the way example has been explained. Concept becomes much more clear when explained with real life example. Thanks once again for such a commendable resource.
It is really helpful.
Thanks
Is the big bang testing is nearly same as system testing?
Very helpful – thank you!
Would be great if you can also explain what sort of cases are part of the agile testing pyramid