Thursday, February 2, 2012

Smoke Testing and Sanity Testing


Smoke Testing
In Smoke testing a set of test cases are executed on every new build to verify that build is testable before test team accepts it for further testing. The test cases selected for smoke testing are the one which are of important for the build in test which is released. If any major functionality fails under smoke testing, the testing team rejects the build and conducts no further testing. Focus of Smoke testing should be on stability of the build released. In smoke testing mostly all features under test are tested, but not in much details.

Smoke Testing is also known as Build Verification Testing (BVT) or Build Acceptance Testing (BAT).
Why we perform smoke testing?
                The advantage of smoke testing is it saves the efforts of a test team considerably. Normally smoke testing should not take more than 20-40 minutes.
What we do in smoke testing?
                In Smoke Testing important or identified test cases are executed and if smoke test fails, build is rejected and a new build is released after the bug is fixed.

Sanity Testing
In Sanity testing a set of important test cases for functionality in test are executed. The test cases selected for sanity testing are the one which are of important for a feature or two in test which is released. Sanity testing is a subset of regression testing. Focuses of Sanity testing are only one or feature in build released where some changes are made.
Why we perform smoke testing?
                In Sanity testing we test only the few features which are released our focus is on the fixed issue and their affected area.
What we do in smoke testing?
                In Sanity testing a set of important test cases for functionality in test are executed. The tester should focus on the fixed issues and the components linked or affected due to the fixes.

Note: There are different process and methodologies followed in various organizations. The above content is as per my experience in industry so far.
 
Please feel free to write comments if you like my post or else if your opinion is different or you may like to add any more points in them.

5 comments:

  1. There are hundreds of web articles on Smoke and sanity testing, many people still have confusion between these terms. Here is a simple and understandable article that can clear the confusion between smoke testing and sanity testing.
    Thanks Chirag... Keep posting..

    ReplyDelete
    Replies
    1. You feed back is critical for me. It helps me to improve my self.
      Thank You!

      Delete
  2. Sanity Testing
    Sanity Testing, quality assurance, regression testing, sanity test, software testing
    http://www.infoaw.com/article.php?articleId=871

    ReplyDelete
    Replies
    1. You feed back is critical for me. It helps me to improve my self.
      Thank You!

      Delete