Difference b/w Smoke and Sanity Testing

Smoke and sanity are the two most confusing forms of testing and often used interchangeably. In this post, we will see the fine difference between the two.

Smoke Testing

Smoke testing got its name from hardware/electrical device testing practices wherein a new device was used to checked/operated to see if it doesn’t smoke. In software testing, smoke testing is done to ensure that normal functionalities are working fine and if the release is stable enough to be tested.

Sanity Testing

Sanity testing is a software testing technique in which a particular functionality of the software is verified for its correctness instead of performing regression on the complete build. In this way, we can say that sanity testing is a subset of regression testing with the intention of saving time.

Smoke TestingSanity Testing
Smoke testing is a shallow and wide approach of testingSanity testing is a narrow and deep approach of testing
Smoke testing is done to ensure that the build is good enough to be considered for carrying on full-fledged testingSanity testing is done to ensure that after a new fix the particular component is working fine
We usually have documented smoke tests i.e. there are some tests identified as smoke tests. These are tests are usually(preferably) automatedSanity tests are generally not automated or even documented as test cases
Smoke checks the overall components of the systemSanity checks the specific functionality of the system

More Difference Between

Manual vs Automation TestingSmoke vs Sanity Testing
White-box vs Black-box TestingSystem vs Integration Testing
Verification vs ValidationQuality Assurance vs Quality Control
SDLC vs STLCTest Plan vs Test Strategy
Test Case vs Test ScenarioAgile vs Waterfall Model
Agile vs Scrum MethodologyREST vs SOAP Web Service
Web Application vs Desktop ApplicationWeb Service vs Website
Assert vs VerifyError, Defect, Fault, Failure & Bug

That’s all I have in this section, please let us know in the comments if you have any questions. Also, check our software testing tutorial here.

Software Testing Tutorial

Leave a Comment