Difference between smoke testing and sanity testing

Smoke Testing vs Sanity Testing

During the software building, as per the need of testing we may have to test both smoke and sanity testing. To complete the user specified requirement in SDLC both smoke and sanity testing verify the application launches successfully with detailed functionality. Following are the key points include in smoke testing vs sanity testing.

SN Smoke Testing Sanity Testing
1 Smoke testing is a testing technique which verifies build is done properly. Sanity testing is a testing technique which verifies functionality is build properly.
2 It follows shallow and wide approach. It follows narrow and deep approach.
3 It tests all basic functionalities of software. It tests major functionalities of software.
4 Identify critical functionalities that product must satisfy user specified requirement. Identify missing functionalities of product which must satisfy user specified user requirement.
5 It is done beginning of each phase of software development life cycle. It is done after regression testing to test functionalities.
6 It is scripted or documented. It is unscripted or non-documented.
7 It is performed by developers or testers. It is performed by testers only.
8 It can be executed manually or using automation tool. It can be executed manually or using automation tool.
9 It is also called as generalize testing. It is also called as specialize testing.
10 Example -: Suppose placement portal has seven different functionality with sub functionality then in smoke testing; test all placement functionality with sub functionality. Example -: Suppose placement portal has seven different functionality with sub functionality then in sanity testing; test only major placement functionality.
Posted by Kumar, 0 comments