Difference b/w Smoke and Sanity Testing

Smoke and sanity are the two most confused forms of testing and often used interchangeably. In this post we will see that 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 software testing technique in which a particular functionality of software is verified for its correctness instead of performing regression on complete build. In this way, we can say that sanity testing is subset of regression testing with the intend 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


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

Software Testing Tutorial

Leave a Comment