Difference between System Testing vs Integration Testing?

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:

  1. Functional Testing
  2. Non Functional Testing

Objective of System Testing:

Difference between System Testing vs Integration 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:

  1. Big Bang Integration Testing: In type of integration testing all the modules are combined first and then tested together.
  2. 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.
  3. 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 TestingIntegration 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 testing3. 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 required4. 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 only5. 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 system6. 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 scenarios7. 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 performance8. 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 :

  1. Searching a product using search bar, checking if the search bar accepts space, characters.
  2. 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
  3. Clicking on the product we select
  4. Check the product detail page
  5. Adding the product to the cart by clicking on “Add to Cart”, check by adding few more items
  6. 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:

  1. Add items to the Product page from back-end, check if it stored correctly in database table.
  2. Add few items to shopping cart and check if these items are correctly stored in temporary tables in database.
  3. Delete few items from shopping cart, it should be deleted from DB as well.
  4. Perform a check out transaction; see in DB if the payment option and other details are updated in DB as real time.
  5. 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:


 

Check email in your inbox for confirmation to get latest updates Software Testing for free.


  Happy Testing!!!
 

6 thoughts on “Difference between System Testing vs Integration Testing?”

  1. 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

    Reply
  2. 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.

    Reply

Leave a Comment

Share This Post