In this week’s blog, I will be talking about Integration Testing from Software Testing Fundamentals.
The International Software Testing Qualifications Board definition: Integration Testing is a test performed to expose defects in the interfaces and in the interactions between integrated components or systems.
Integration testing is a level of testing where units are tested as a group making sure they all work when put together. It is performed after Unit Testing and before System Testing. Developer themselves or independent testers are responsible for performing Integration Testing. There are different kind of approaches to Integration Testing:
- Big Bang is an approach where all or most of the units are combined together to be tested in one go when the testing team receives the entire software bundle. Kind of like System Testing but it only tests the interactions between units and not the entire system.
- Top Down is an approach where top-level units are tested first before the lower level ones. This approach is taken when the development of the software was also from top to bottom.
- Bottom Up it is basically like Top Down instead you go from the bottom to the top.
- Sandwich/Hybrid is a combination of Top Down and Bottom Up.
I picked to read this blog because it offers useful analogies to make it easier to understand. There was also a gif at the bottom of the blog where it shows what happens when you do not do an Integration Testing. There were also tips on how to do Integration Testing properly. One of them was to “ensure that you have a proper Detail Design document where interactions between each unit are clearly defined. In fact, you will not be able to perform Integration Testing without this information.” I think that was pretty much the main point of that you have to take from Integration Testing. That you need to know how the system works or the design of it, else Integration Testing would not make any sense to do. Another take on from this blog is to make sure that every unit is unit tested before you start Integration Testing.
Lack of Integration Gif:
https://giphy.com/embed/3o7rbPDRHIHwbmcOByvia GIPHY
From the blog cs-wsu – Computer Science by csrenz and used with permission of the author. All other rights reserved by the author.