What are the Real-Time Examples of Smoke and Sanity Testing?

 


The quality of a software product or application in terms of performance, functionality, reliability, scalability and security plays a crucial role in ascertaining its business value in the marketplace. To ensure that the software is of the best quality and bug-free, smoke testing and sanity testing are conducted. Both these software testing methods play a crucial role in the effective functioning of the software product or application. 

The software testing team should not only know the differences between smoke and sanity testing but also, should have a clear idea about its working scenario from a testing standpoint. In this article, you will get to know about smoke testing and sanity testing through a few examples.

What is Smoke testing?

It is a non-exhaustive testing type that makes sure the crucial and basic components of a single build are functioning appropriately. For example, the composing and sending email features of Gmail are tested through the smoke test method. This testing method makes sure that the software build that is being deployed is stable. The basic functionality of a software product or application is properly tested by the smoke test method.

The abnormalities in an application are detected and fixed so that the application can be further passed on to the more exhaustive level of testing. In this manner, major errors can be averted.

 

Smoke testing examples:

There is an e-commerce website in which the payment processing system has gone through some changes. Once the specific changes have been made, the website should work as expected. In this scenario, smoke testing can be conducted by navigating the site quickly. But, if suppose, the website or product has crashed in its entirety, then there is no need to continue testing. The developers are alerted of the fault so that they can fix it accordingly.

Another example would be a desktop application that has been built to calculate billing, tax and salary for enterprises. The team imports the data and gets to know that the app somehow calculates 2+2=5, which cannot be accepted, as there is a functionality related issue in the app when it comes to calculating. Hence, the app cannot be taken to further levels of testing, as it is not able to perform minor calculations., which are basic arithmetic calculations.

 What is Sanity testing?

It is a testing method wherein the software build that is stable is tested. It is a basic and quick test (or a set of tests) that makes sure that the changes that have been made in the code are functioning properly without any bugs. It is conducted after the smoke test has been performed.

 

Sanity testing example:

The owner of an online food ordering app is offering a 50% discount on a certain festival for two days (01/11 and 02/11) and that too only for customers who have an elite membership. 

Following are the key points  from a testing perspective:

l  Only elite members are eligible for a discount on 01/11 and 02/11

l  Non-elite members will not be given the discount

l  The rebate will not be received by any member before and after 01/11 and 02/11 respectively

l  The 50% discount that is offered cannot be clubbed with other discount coupons

l  If elite members go for any other deals, then they will not get the 50% discount offer opportunity.

Other areas of the app like restaurant reviews or delivery tracking will not be verified and tested by the sanity testing app. If the app fails while sanity testing is being conducted, then the app is sent back to the developer for fixing the specific issues. If the app succeeds in the sanity test process, then it is sent for system testing.

Conclusion: If you are looking forward to implementing smoke testing/sanity testing for your specific project, then do get connected with a globally renowned software testing services company that will provide a viable testing strategy that is in line with your project specific requirements.

About the author: I am a technical content writer focused on writing technology specific articles. I strive to provide well-researched information on the leading market savvy technologies.

Comments

Popular posts from this blog

Which testing is done first, smoke or sanity?

Smoke Testing: Its Techniques and Advantages

Smoke Testing - Types, Process, Tools & More!