Difference Between Smoke and Sanity Testing

Smoke and Sanity Testing

In general Smoke and Sanity testing seems very similar to many tester who have just started, because in both we talk about build, we talk about functionality and we talk about the rejection of builds if build’s health is not well for the feasible testing.

After going through several project from start ups to product base company, I come to figure-out the basic difference between Smoke and Sanity testing.  I am writing difference between smoke testing and sanity testing here to help you in answering at least one question that normally all testers get asked in interview.

Smoke testing :

smoke testing is done to test the health of builds

– it is also know as the shallow and wide testing in this we normally include those test case which can cover all the functionality of product

smoke testing, we can say that is the first step of testing and after this we normally do the other kind of functional and system testing including regression testing

Smoke testing is normally done by Developer with the help of certain script or certain tools in some cases it is done by Tester too

– One more thing,Smoke testing is valid for initial stage of build confirmation like we have started development of certain product  and we are producing build for the first time then Smoke testing become necessity for the product.

Sanity Testing :

– It is sub-regression
Sanity is done for those builds which have gone through many regression and has come after a minor change in code. In this case we normally do the intensive testing of functionality for which this new change has come.
– Due to this it is also know by narrow and deep testing
Sanity is done by Tester
Sanity is done for mature builds like build those are just going to hit production and have gone though multiple regression process.
Sanity can be removed from the testing process if regression is in process of testing.
– IF any build doesn’t pass sanity testing, then it is thrown to developer back for the correction in build.

Since the very start of this article i am speaking build, build and builds and there will be many reader who would be getting it irritating that what the hell is this BUILD. So let me  write few lines for the definition of Builds

Software Builds : A simple software is made up of multiple code files and when these files are separate its compilation seems easy but it is very tedious to compile all files before execution of an program. So developer makes executable file by combining all these files. These executable file are known by the name of Software Builds.

Hope now you would be comfortable with the testing keyword Builds

but friends if i am lagging somewhere then please do me a favor by dropping supportive comment over this topic.

Dwarika Dhish Mishra

My name is Dwarika Dhish Mishra, its just my name and I am trying to bring the worth of my name in to actions and wants to be the solution not the problem. I believe in spreading knowledge and happiness. More over I am fun loving person and like travelling a lot. By nature I am a tester and a solution maker. I believe in the tag line of http://ted.org “Idea worth spreading” . For the same, I have created this blog to bring more and more learning to tester fraternity through day to day learning in professional and personal life. All contents are the part of my learning and so are available for all..So please spread the contents as much as you can at your end so that it could reach to every needful people in testing fraternity. I am pretty happy that more and more people are showing interest to become the part your Abode QA blog and I think this is good sign for us all because more and more content would be before you to read and to cherish. You may write or call me at my Email id: dwarika1987@gmail.com Cell: 9999978609

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.