Education logo

What are the real time example of smoke and sanity testing?

Smoke testing and sanity testing play a key role in the functionality of the software. What should be focused upon is understanding the strategic role both these testing methods play in software testing and development environment.

By Jessica WoodPublished 2 years ago 3 min read
Like

Smoke testing and sanity testing play a key role in the functionality of the software. What should be focused upon is understanding the strategic role both these testing methods play in software testing and development environment.

There are a few ways to explain the functioning of smoke testing and sanity testing. However, explaining both these testing types would prove to be useful.

In this article, you will get to understand smoke testing and sanity testing through an example.

What is Smoke testing?

Smoke testing meaning: It is a testing method where the execution of a group of tests takes place in order to verify whether the functionalities of the specific build are working as per the expected requirements or not.

Only if these tests pass smoke testing, only then the QA team will accept the build for in-depth testing/regression.

If the tests pass during the testing process, then the build is rejected and is sent to the development team for fixing it.

It is surface-level testing, where the build that has been provided to the QA team by the development team is certified and is ready to be passed on to further levels of testing.

The strategic need to perform smoke testing:

This testing method is performed in order to make sure whether the QA team can move on to further levels of testing, based on the condition that the built should pass the smoke testing process.

Example:

For example, there is an e-commerce portal being developed by the e-commerce site developer. The ‘abbreviate’ function needs to be modified by the developer, wherein a long string that has to be abbreviated has to shorten its input to 40 characters instead of 80.

In this scenario, the product screen may work fine, but, as the same function is also used by the shopping cart screen, there might be an issue because there are some crucial details that are not being displayed.

Through this, end-users will not be able to check out and thus it will impact the business growth.

In this specific scenario, performing smoke testing would have saved effort and time, by detecting the defects quickly in the earlier stages of site development.

What is Sanity testing?

When a software build is received with changes in code and functionality, then sanity testing is performed.

This testing method is performed to make sure that the bugs have been fixed and with new changes, there are no new bugs being found.

The core functionalities are not focused on in this testing method, rather the correctness and rationality of the software are verified.

The main goal of sanity testing is to make sure that there are no false results or bugs in the component processes.

The strategic need to perform sanity testing:

This testing method makes sure that the bug fixes and changes in functionality are working as expected.

Example:

For example, let’s consider an online taxi application.

Following are the features:

1. Signup for the online taxi app

2. Provide login credentials

3. Search for a taxi (depending upon the routes and other travel aspects)

4. Book the taxi.

In the above-mentioned four features, say for suppose the ‘Login’ feature is not working correctly.

Then, the developer has to identify and fix the defects. After that, sanity testing is performed on the specific function that has been modified.

Conclusion: If you are looking forward to implementing smoke testing or sanity testing or both for your specific project, then do get connected with a professionally acclaimed software testing services that will provide you a tactical testing roadmap along with providing strategic advice and professional support 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.

how to
Like

About the Creator

Jessica Wood

I am Jessica wood and I am a Software tester for over 9 years , blogger, technology geek, and I use software testing to explore and learn about my world.

Reader insights

Be the first to share your insights about this piece.

How does it work?

Add your insights

Comments

There are no comments for this story

Be the first to respond and start the conversation.

Sign in to comment

    Find us on social media

    Miscellaneous links

    • Explore
    • Contact
    • Privacy Policy
    • Terms of Use
    • Support

    © 2024 Creatd, Inc. All Rights Reserved.