Sanity Testing Vs Smoke Testing

     Sanity Testing Vs Smoke Testing


    1. What is Smoke Testing?

    Smoke Testing is a software testing technique performed post software build to verify that the critical functionalities of software are working fine. It is executed before any detailed functional or regression tests are executed. The main purpose of smoke testing is to reject a software application with defects so that QA team does not waste time testing broken software application.

    2. What is Sanity Testing?

    Sanity testing is a kind of Software Testing performed after receiving a software build, with minor changes in code, or functionality, to ascertain that the bugs have been fixed and no further issues are introduced due to these changes. The goal is to determine that the proposed functionality works roughly as expected. If sanity test fails, the build is rejected to save the time and costs involved in a more rigorous testing.

    3. Difference between Smoke Testing and Sanity Testing

    Smoke TestingSanity Testing
    Smoke Testing is performed to ascertain that the critical functionalities of the program is working fineSanity Testing is done to check the new functionality/bugs have been fixed
    The objective of this testing is to verify the “stability” of the system in order to proceed with more rigorous testingThe objective of the testing is to verify the “rationality” of the system in order to proceed with more rigorous testing
    This testing is performed by the developers or testersSanity testing in software testing is usually performed by testers
    Smoke testing is usually documented or scriptedSanity testing is usually not documented and is unscripted
    Smoke testing is a subset of Acceptance testingSanity testing is a subset of Regression Testing
    Smoke testing exercises the entire system from end to endSanity testing exercises only the particular component of the entire system
    Smoke testing is like General Health Check UpSanity Testing is like specialized health check up