Loading

Smoke Testing vs Sanity Testing


In the field of the software engineering, it's a very well-known fact that the testing performed at early stages of the software development life-cycle has always proven to be a time and cost saving solution. Early identification and detection saves efforts and time to fix bugs and issues, which may got complicated and difficult to correct at later stages. Smoke Testing and Sanity Testing are few of the important testing types which ensure the detection of bugs and defects in the early stages of the development cycle. Let's have a small overview of Smoke Testing vs Sanity Testing methodologies.

Smoke Testing vs Sanity Testing image


What is Meant by Smoke Testing?

"Smoke Testing" is a type of preliminary testing performed over initial build or 1st/first build of a software product under development which may be either stable or unstable. Through smoke tests, stability of a newly developed software build(s) is assessed to make a decision over further execution of thorough and rigorous testing activities on these builds. On passing the smoke tests, build is subjected to more strict and strenuous testing methodologies such as functional testing and system testing, else it is considered unstable to face off further high levels of testing and is rejected & restricted for further testing.

This testing technique helps in saving precious time and valuable efforts of testers to work on relatively unstable or incomplete build which may eventually breaks down at the later & complex stages of testing.


ThinkSys Advertisement


What does Sanity Testing Mean?

Unlike smoke testing, sanity tests are executed on the relatively stable build(s) undergone through multiple regression tests to ensure that all the previously found bugs got fixed and no further issues or complications prevails or occurs in the existing functionalities after the process of bug-fixation through code modification.

Outcomes of sanity testing are similar to that of smoke testing i.e. if build passes the sanity test, it would be considered stable and capable to face-off further rigorous testing activities otherwise will be thrown in the rejected list of builds.


What is the Difference Between Sanity and Smoke Testing?


Smoke Testing vs Sanity Testing Infographics

Meaning and objectives of these two testing types are much different to each other but still most of us remains in the state of ambiguities over the differences between Smoke testing and Sanity testing. Here, we are listing out some of the notable key points of difference between sanity testing and smoke testing to have crystal clear understanding of these two different testing methodologies.

smoke testing vs sanity testing


Smoke Testing

  • Smoke tests are executed on the initial builds of the software product.
  • Software build to be tested in this type of testing could be either stable or unstable.
  • Motive of smoke testing is to measure the stability of the newly created build to face off the further and more rigorous testing.
  • Smoke testing is a subset of regression testing.
  • Smoke tests are executed on the availability of the newly developed builds.
  • Failure in the smoke test results into instant rejection of the software build.
  • Smoke Testing may be performed either by the developers or the testers.
  • Smoke testing involves the documentation and scripting work.
  • It may be seen as a general type of testing covering all the basic functionalities.
  • This is a Shallow and wide approach to encompass all major functionalities without getting into detail.
  • Smoke tests may be executed either using automated or manual approach.
  • Smoke saves testing team efforts and time, to work on defective or unstable software build.

Sanity Testing

  • Sanity testing is performed over the builds which have successfully passed the smoke tests and have undergone through regression testing cycle.
  • Software Build under test is relatively stable in Sanity Testing.
  • Primary purpose of sanity test is to evaluate and validate the rationality and originality of the essential functionalities of the software build after going through multiple regression tests.
  • Sanity testing may be seen as a sub-category of acceptance testing.
  • Performed post-completion of the regression testing activities.
  • A fail in the sanity test places the software build in the rejected list.
  • Sanity is generally, executed by the testers.
  • Sanity testing does not emphasize on any sort of documentation and scripting.
  • A specialized or more detailed oriented testing technique that focuses on a particular functionality or a feature.
  • While Sanity is a Narrow and deep approach involving detailed testing of functionalities and features.
  • Sanity tests are usually executed manually.
  • Whereas Sanity is Time and cost saving approach.

ThinkSys Advertisement
ThinkSys Advertisement



Get New Content Update
Popular Posts
Dec 07, 2020
Dec 07, 2020
Dec 07, 2020

Advertisement:

ThinkSys Advertisement


LP

App development ad thinksys

Devops