Testing is not always black or white, there are some gray's also thrown in the mix. The gray here refers to the combinations where the testing approach is a mix of two or more. One such mixed testing approach is Sandwich Testing as well. This article aims to throw some light on the Modified Sandwich Testing Model.
Integration Testing consists of two approaches, i.e., top-down approach and bottom-up approach. When these two approaches are mixed the resultant is known as Sandwich Testing.
In Sandwich testing, each vertical component is integrated with the subsequent one and then tested as a whole entity. The drawback of this method is that it does not test the individual sub-systems methodically and systematically. To overcome this problem, Modified Sandwich Testing was developed. In this approach or model, each layer is first tested thoroughly and subsequent to that integrated with the next fully tested layer. Hence, Modified Sandwich Testing Model is that in which all the parallel layers are first checked thoroughly and then integrated with the next one and rechecked as a complete unit until the entire software is integrated.
In a Modified Sandwich Testing Model:
In large programs, each layer consists of numerous sub-parts which are important to the smooth functioning of the entire software. But the layers are so intricate that the sub-components are sometimes not tested as thoroughly as they should ideally be. In order to test the sub-systems or sub-components in detail, it is necessary to make them targets. This can only be achieved through Modified sandwich Testing. Therefore, modified Sandwich Testing is one method that gives due testing importance to the various parts that form a complete layer.
In the end, as is clear from the above discussion, the Modified Sandwich Testing Model is very helpful in bringing each small part of the layer to the forefront. In this way, even small and insignificant parts can be tested with thoroughness so as to remove all bugs and defects. After all, it is these small areas which, when left untested can cause significant trouble in the form of software malfunction. Small does not mean important so using Modified Sandwich Testing when required is a must.