Unit Testing is the type of Software Testing level in which each individual components of a software are tested. Unit Testing is generally performed by developer. Unit Testing can’t be used for those systems which have a lot of interdependence between different modules. It does not allow for parallel testing.
Sandwich Testing is also known as the hybrid integration testing. Sandwich Testing comprise the bottom-up approach testing and top-down approach testing, therefore it uses the advantage of both bottom up approach and top down approach. Sandwich Testing also can not be used for those systems which have a lot of interdependence between different modules and it allows parallel testing.
Difference between Unit Testing and Sandwich Testing:
|S.NO||Unit testing||Sandwich testing|
|1.||In unit testing, software’s module are tested separately.||Sandwich testing comprise the top-down and bottom-up testing.|
|2.||Defects are identified easily in unit testing.||Defects are not identified easily in sandwich testing testing.|
|3.||In Unit testing does not matter how big project is.||Sandwich Testing is used for very large projects having sub projects.|
|4.||Unit testing is cost efficient.||Sandwich testing is not cost efficient.|
|5.||Unit testing does not allow parallel testing.||Sandwich testing allows parallel testing.|
|6.||Unit Testing can’t be used for those systems which have a lot of interdependence between different modules.||Sandwich Testing also can not be used for those systems which have a lot of interdependence between different modules.|
|7.||In Unit testing, there is need of fewer resources for testing.||In Sandwich testing, there is need of large number of resources.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between System Testing and Sandwich Testing
- Difference between Acceptance Testing and Sandwich Testing
- Difference between End-to-end Testing and Sandwich Testing
- Difference between Integration Testing and Sandwich Testing
- Sandwich Testing | Software Testing
- Difference between Unit Testing and Integration Testing
- Difference between Unit Testing and System Testing
- Difference between End-to-end Testing and Unit Testing
- Unit Testing | Software Testing
- Difference between Component and Unit Testing
- What is Unit Testing and Why Developer Should Learn It ?
- Difference between Frontend Testing and Backend Testing
- Difference between Black Box Testing and Gray Box Testing
- Difference between System Testing and Acceptance Testing
- Difference between Performance Testing and Load Testing
- Difference between Load Testing and Stress Testing
- Difference between Stress Testing and Volume Testing
- Difference between Volume Testing and Load Testing
- Difference between Agile Testing and Waterfall Testing
- Difference between Active Testing and Passive Testing
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.
Improved By : ashushrma378